I think the problem is that you have multiple meta values so your order by should be more targeted, like this.
$args['orderby'] = array(
'mp_exists' => 'ASC',
'mp_not_exists' => 'ASC',
'title' => 'ASC'
);
I don’t know by what meta you want to order so I added both of them, remove as necessary.
Related Posts:
- Sorting: custom query with orderby meta_value_num THEN by title
- Custom WP_Query order by post_meta and (author) user_meta
- How to order a post type with meta_value_num and if meta_value_num does not exist then order by date
- Order WP Query posts by custom order calculated from post meta values
- Meta query with order by another custom field
- Order Posts by meta value AND published date
- Complex Orderby Parameters: How to query with multiple orderby parameters using meta_value_num?
- pre_get_posts order by not working
- SQL: What is wrong with the following query (generated by WordPress WP_Query, ordering prices)
- How to orderby multiple meta fields if some fields are empty
- Help ordering Post loop by two meta values
- Order ascending is ignored in meta query?
- meta_value_num not ordering all items
- How to filter a query by multiple meta keys and order by other meta keys
- Advanced WP_Query with meta_query, orderby?
- Sort posts using multiple custom fields and menu_order in single query?
- WordPress Query custom ordering by temporary variable
- Meta query orderby meta_value_num sorting by role first
- WP_User_Query Orderby Not Working
- Sorting with meta_query and multiple, optional meta keys
- WP Query. Ordering posts by another post types meta
- wp_query sorting – one specific meta_key value at last and then sort by create date
- Best way to Order Post in Home without a plugin
- Using orderby with 2 meta keys
- Sorting: custom query with orderby meta_value_num THEN by title
- WP_Query with several meta_query-statements and order by meta_value
- Meta_query compare operator explanation
- Nested meta_query with multiple relation keys
- meta_query ‘compare’ => ‘IN’ not working
- Ignoring initial articles (like ‘a’, ‘an’ or ‘the’) when sorting queries?
- WP_Query with checkbox meta_query
- Query Multiple Post types each with own meta query
- Meta Query with date and time on the same Day before given time
- How to grab metabox value in wp_query meta_query key
- WP_Query sort by comment meta data
- Order posts by tags count?
- Orderby = none not working [duplicate]
- WP_query ‘orderby=none’ Problem
- How can I create a WP_Query that returns posts where one meta_value
- query order by date on custom type: wrong order
- How to count data records in wordpress which have same meta_value in wp_postmeta table?
- WP Query – Get WooCommerce Products with variation that is in stock
- Meta_query with or without value
- Ordering by meta_value AND date NOT WORKING with wp_query
- WP_Query orderby breaks when using AJAX?
- Custom Post order for homepage
- Change default ordering of taxonomy terms – pre_get_terms
- Sorting posts DESC based on the number of comments using WP_Query
- Add condition of user capability in WP_query
- (Solved) WP_Query ($ args) -> How to sort letters and numbers within the same array
- How to make Meta Query case sensitive?
- Performance when getting post meta for post retrieved by meta value
- Any number in meta key (wp query)
- Is it a good idea to improve meta query performance by adding tax query?
- WP_Query: Group events by year, sorted DESC; then by date for each year group, sorted ASC
- Order by summing multiple values
- Understanding the orderby in WP_Query?
- Modify wp-query and sort by post meta key
- Tax query AND/OR meta query [duplicate]
- Orderby listing issue
- Make meta query treat meta_value as 1 or 0
- WP Query Meta Value – How To Identify Specific, Unique Values?
- Order by meta_key doesn’t work
- Multiple meta_key ordering with pre_get_posts
- Child pages not affected by orderby
- Error in meta_query not get result
- Meta query with compare by more than 2 fields
- Sorting posts by Multiple custom fields in defined order
- How to get current page nearest parent id?
- WP_Query orderby random do not repeat infinite scroll – one loop
- WP_Query meta compare must include ALL array values
- meta_query returning excluded result
- meta_query weird behaviour, static int will work, but not user data
- Creating a query that get all posts but places meta items first
- get_posts query is taking about 40 seconds to execute
- Order (by ASC) posts with meta_key so posts without values are last
- meta_query – check for multiple meta values in key which holds an array of values
- How to sort wordpress posts already selected by WP_QUERY
- Custom WP Query order function possible?
- Searching for a specific month in a metadata saved as Timestamp (Wp_Query)
- Why can my filter query SOME metadata but not other metadata?
- Order by value of Custom Field using url string
- Order Element By Custom Field in WordPress
- WP_Query on custom key and value
- Get posts having meta value between two numbers
- wordpress multiple meta value query is not working
- How to set meta_query if get_post_meta returns nested array for that key? [duplicate]
- Query by meta value (add a dropdown of all values)
- Order Posts By Custom Field That is an array of objects
- WP_Query returns empty if meta_query has more than 7 values
- Use not custom fields in get_posts() meta_query?
- WordPress meta_query not working
- query_posts with sorting on a custom datestamp
- Passing conditional arrays to WP_Query() [closed]
- Get all user with both meta_value
- WordPress extremely slow when using get_posts with multiple meta_query relations
- Use meta query only 3 or more results?
- How to put posts with some taxonomy on top of others in `pre_get_posts`
- Use value from meta key array for use in WP_Query
- WP_Query sort by ACF date field (newest first) with blank dates first