Stuck in Order by more then one
You’ve got the unnecessary array involved around clauses. The correct code is ‘meta_query’ => array( ‘relation’ => ‘AND’, ‘awards_clause’ => array( // clause ‘key’ => ‘awards’, ‘compare’ => ‘EXISTS’, ), ‘points_clause’ => array( // clause ‘key’ => ‘points’, ‘compare’ => ‘EXISTS’, ), ), ‘orderby’ => array( ‘awards_clause’ => ‘DESC’, ‘points_clause’ => ‘DESC’, ),