order custom post type posts by custom date September 13, 2022 by Tarik Billa Thanks for the input, i solved the problem with the following workaround. strtotime($event_date)