• I am trying to get events to sort. I want them sorted by date. Nearest date first, then other dates after that (Mar, Apr, May, etc).

    $eventsdata = $search->get_events_between($start_time, $end_time, array(), true);

    Obviously, I am trying to sort the array returned to $eventsdata.

    I have tried asort, ksort, etc. I can’t get it to sort how I need it to.

    Does anyone have a way to sort this?

    • This topic was modified 3 years, 8 months ago by pacdev1.
  • The topic ‘Sorting Events’ is closed to new replies.