Hi,
I’ve seen this covered elsewhere but still can’t work it out. My results aren’t in a proper date order. Here’s the query string:
post_type=hps-event&orderby=meta_value&meta_key=hps_start_date&order=DESC
And here’s the output
The return format from the ACF field is: Ymd G:i
Somehow 20230625 (25th June 2023) is sorting earlier than 20231001 (1st of October)
Any genius ideas?
Thanks, Bill.