You can actually use two filters to accomplish this.
Use posts_join for the joining of the meta table (unless you know it’s already included in your wp_query. And posts_orderby for the sorting.
You can actually use two filters to accomplish this.
Use posts_join for the joining of the meta table (unless you know it’s already included in your wp_query. And posts_orderby for the sorting.