I’ve been working on a big project recently that is based on a listing of green companies that are in specific industries and regions in Norway.
One of the requirements is that certain companies need to listed at the top of a listing of all companies. Since the listings are WordPress posts, the date added, post ID and an alphabetical sort won’t accomplish this. So, I decided to create a simple custom field – companies with one value will be listed higher than ones with another value and then sorted alphabetically.