get_posts: Order by custom wp_posts column

Some developer like to extend the WordPress tables with a custom wp_posts column. To have it as a sortable column for queries like in get_posts you need to extend WordPress a bit. This article shows how to make custom columns sortable.  Continue reading “get_posts: Order by custom wp_posts column”