Sorting events search
-
Consider the following code:
$events_result = $search->get_events_between($start_time, $end_time, array(), true);
Once I have data in the $events_result variable, how would it be possible to sort the results? I would like to sort them by the event start time, in order of when they will be upcoming (so may 13th, 14th, then 15th for example).
Thanks in advance for your help. I have done a ton of searching but I can’t seem to find an answer on this.
The topic ‘Sorting events search’ is closed to new replies.