(I was going to add this as a comment as it’s not a full answer, but I can’t yet…)
I think you will need to use an SQL query as the standard meta_queries / orderby won’t work. Have a look at Custom Table Column Sortable by Taxonomy Query and http://wpdreamer.com/2014/04/how-to-make-your-wordpress-admin-columns-sortable/#sorting-posts-option-b for a couple of examples.
Related Posts:
- How do I set the default admin sort order for a custom post type to a custom column?
- Make custom column sortable
- Using meta_query, how can i filter by a custom field and order by another one?
- Custom sortable columns ordered by meta-value?
- How to order adjacent posts (prev / next) by custom field value?
- Sorting a query by custom field date
- Custom Taxonomy Template Post List with Sort Order
- Column sorting with emtpy meta values
- manage posts custom column is not populating data from meta boxes
- How to sort a table of custom posts by column containing custom field
- Add custom column to custom post type overview in backend
- How to Sort Custom Field Admin Column by Date
- How to Sort by Date When Using d-m-Y Format
- Sort by two dates. Default entry date and custom field if present
- How do I sort a custom post type admin column using two meta keys?
- Sorting custom post type columns with external data and without meta values
- WP_Query order by custom field, then randomly order some of results
- Store CPT ‘Reviews’ average ratings to a WordPress DB table or to a DB custom table?
- Order a custom post type admin screen by a second custom post type title
- Sort custom post type by most current date picker
- Sorting custom post types in edit.php : Post disappear
- How can I sort the order of multiple custom field values in a custom post type?
- wp_set_object_terms creates taxonomies but does not add custom posts to it
- Sort custom post archives by a meta value from a different custom post type?
- sorting in wp query based on custom field value
- Custom Fields as Post Type Options
- Default custom column to off
- Make custom post type column sortable
- add comments custom fields after user is logged in
- Sort CPT by taxonomy AND THEN by custom field
- WP Query from two Custom Post type fields as statement
- How to Print Title and Permalink of CPT Post behalf of Posts Meta Value with WP_Query
- Using publish_{custom-post-type} hook for custom post type to update meta doesn’t work
- Best way to fix bad count on All | Mine | Published
- Alike Shortcode using in Custom Shortcode
- Sort custom posts by date and then by taxonomy
- Query custom post type that has a serialized relational advanced custom field value
- How To Read Read Custom Post Type Data in Headless CMS Mode
- Auto update publish date of CPT Post if default post custom field value match to cpt post CF Value
- Title and URL Error in Breadcrumb Navigation for Custom Post Types
- Filter custom post type admin list by custom meta column, where the column is another custom posts meta value
- Using OR relation in meta_query to check for a value before sorting by another
- How to upload an image to a custom post type
- WP Admin Dropdown List Filter for custom (ACF) field on custom post type(s)
- Updating a custom post status after an expiry date rather than trashing it
- Add html tot CPT edit screen – no metabox
- WP_Query get always custom post_type for first
- Custom post type sortable columns when column value is from a custom database value
- Plugin Development using classes – Public & Private Callbacks
- Display Posts that fit a certain criteria on Category pages
- How to display custom field in product description?
- Sort custom post column by generated value?
- Custom Post Type action on post update
- Custom Column in CPT admin table not updated after Quick Edit save
- Show Post Types customized in Template Page
- In child theme, add CPT to custom taxonomy registered in parent theme
- How to only display all posts to a custom User Role?
- Store a value in global scope after init hook is fired
- Why this didn’t work if i use get_the_ID(), but works if i pass the numeric id
- Unable to gather Image URL from Custom Post Type’s; Custom Meta Field
- How to keep custom post type related information
- What is the correct way that when creating a custom post type assign values to custom fields created with pods framework?
- when looping through custom post data not appearing
- How to avoid duplicate posts queried from custom meta?
- Changing CPT permalink
- Custom Metabox Info Not Saving
- Add custom template ‘sub-page’ to Custom Post type?
- Custom sorting in post columns by ACF Pro Select Field
- How can I query and sort custom-post type using WP_Query
- Update main post with same category when creating custom post to update the modified date
- Meta query and compare “!=” not working as expected
- custom post types, custom fields and normalization
- Display Custom Field or Custom Taxonomy in front page /post/product
- How can I create a button that when clicked populates a div with a list of foods that are checked as a certain type of ACF?
- Orderby if between two meta fields
- How to add dynamic fields on wordpress custom post type page in admin section
- Dynamic page for nav items used as filters
- Sort custom post type by custom datepicker instead of filtering
- How to access repeater field of a custom field?
- Filter posts by their related field’s custom field
- Post Click Redirect to Custom URL instead of Single Post Page
- How to sort by multiple values in a nested WP_Query
- wp_insert_post deleting previous post custom meta
- How can I add a meta[] to my custom post type and search by term with the Rest API?
- Show posts from WP Custom Post Type selected from a field in a metabox
- Custom post type order by post_title
- Problem in moving cpt’s from local website to live website
- How to sort post category using its Description
- How can I fetch all the dates from custom fields from various different custom post types and show / list them at one place in ascending order?
- register_rest_field update_callback don’t work for $_FILES
- Query custom post type and custom field by URL parameters
- Creating an archive page or simple template to list all values of a custom field of specific post type listing
- Where is get_post_meta value located?
- Hook create / update post
- How to convert Post Object Custom Field into Tags
- How do I query with multiple custom fields orderby in same column?
- PHP Warning with Custom Fields
- Custom meta fields not showing up in WP_Response Object via custom endpoint
- Query a Custom Post Type using SELECT that has ACF fields to compare dates
- I want to create a metabox under custom taxonomy