It is already solved here.
https://stackoverflow.com/questions/16889207/how-to-order-wordpress-posts-by-a-custom-field-date
Just make sure you use ‘meta_value_num’ for ‘orderby’ and convert your date values from custom meta’s to ‘yyyymmdd’.
Related Posts:
- Sort Order for a Custom Query in a Post Type Archive Not Working
- Select All in Parent Category, Group by Child Category?
- WP_Query -> sort results by relevance (= most tags / taxonomy terms in common)
- WP_Query post at custom position
- query order by date on custom type: wrong order
- Re-order posts in query after
- How to query different post types in specific order?
- Combining sorted and random CPT
- Previous/Next Link by Meta Value in CPT
- Wp_query: sort by PHP variable
- How to do WP_Query with two meta fields with orderby clause
- Order Custom Post Type by Custom Field Value
- Change sort order when using ‘orderby’ => ‘type’
- Having Issue on Ordering CPT by Custom Field In Custom WP Query
- WP_Query of custom post type sorted by meta_key has unexpected results
- WP_Query not resetting after wp_reset_postdata
- Displaying Portfolio Filter by Category Order (alphabetically)
- Display Parent-Child Posts in specific order by comparing IDs in array
- How can I sort the results of a REST API response by the title of a connected custom post type?
- Order posts alphabetically with numbers but some of the posts has numbers in the title
- SEARCH QUERIES – REVERSE OUTPUT
- Wp Query sort order from custom MetaBox
- WP Query with multiple post types ordered by custom meta date then published date
- Orderby modified only for specific post types
- Custom post order when using OR relation
- 404 on Pages for Custom Post Type & Query_Posts
- WP_query orderby not working after WP4.0 update [closed]
- Query order by meta value force specific tag first
- Order Wp Query by earliest of 3 dates meta query
- Search multiple custom fields by using meta_query
- Displaying Posts Related to Other Posts by a Taxonomy Term?
- How to query for posts (in hierarchical custom post type) that have children?
- Set default option in dropdown of WP_Query?
- Should unaltered default loop/query return a list of custom posts belonging to a custom taxonomy?
- WP_Query pagination using only numbers instead of /page/1 on URL
- Query for posts in 2 taxonomies
- Parent / Child formatting in a list of post of a custom post type
- How do I create an archive page for standard posts?
- Multiple post type queries (with specific arguments for each)
- Custom WP_Query not returning results when querying custom post type
- Custom Post Type Loop within Shortcode
- How do I make a custom taxonomy for a CPT appear inbetween title and editor boxes?
- How to add post_type=value when editing that post type in the WordPress admin?
- Display CPT posts based on specific taxonomy
- Filtering WP_Query Dynamically on the Front-End
- Why get_posts() not returning only selected category posts from Custom Post Type?
- Custom taxonomies relationship
- Prioritize posts in query by meta keys?
- Different Ways to Query Custom Post Types?
- Possible to filter custom post type with multiple meta data?
- Loop increase number
- Custom filter for main search: how to exclude specific post_type from search results
- Is This Code Efficient – Or is there a better way?
- Inefficient Query Confusion
- find custom post type post by searching its custom field with my string
- wordpress lists similar type of posts in a custom post type
- FacetWP paging custom wp_query
- Cannot get custom posts by category
- Shortcode with WP_Query more than once on one page
- Creating a Tabbed Widget
- Filtered by a custom field, ordered by another
- orderby parameter not working in custom query
- foreach loop inside the loop creating duplicates in output
- Sorting by meta_key different to search criteria?
- Shortcode / WP_Query in post changes context
- All blog posts are not showing up
- How to fetch posts that are stored in the different table than (default) wp_posts?
- WP_Query order custom post type with certain meta key value by post modified date
- Cant’ Display Custom Post Type Title Base on Tax Terms
- Custom Post Type ‘Event’: Chronological list of recurring events from meta_values in array
- Pagination in custom post type archive.php not working
- WP Query: If field X is empty, show posts based on field Y
- Sort custom post column by generated value?
- meta query condition don’t work
- How to search through all child taxonomies using WP_Query?
- Filter posts by their related field’s custom field
- Custom post type category returns null
- Custom post type order by post_title
- Tell wordpress to show a single page instead of an archive page
- How to get post by meta value
- How do I get all authors posts of a custom post type outside loop
- minimize wp_query call to database
- Filter custom WP_Query by first letter of a custom field – hopefully using Search and Filter Pro?
- sorting in wp query based on custom field value
- Display posts of a hierarchical custom post type excluding parent posts
- WordPress loop add heading before first of type
- Only show current category post
- Custom Post Type shows pagination (w/404) or posts_per_page query, but not both
- Help ordering custom query by Title, Ascending
- How can I base a query off of the current page post type AND a meta value from another custom post type
- Storing/querying custom date data
- Query Posts From Multiple Post Types
- Fallback if statement based on the number filtered from it
- Posts 2 Posts: query connected — orderby problem
- How do I hide single category post on my post page
- Get images only from a certain post type
- querying to custom field over ACF REST API
- Display ACF object field data using Elementor Custom Query
- WordPress custom field sorting, weird behavior: the latest post is at the end
- Sort ACF by custom taxonomy