Jump to content

jarvis

Members
  • Posts

    508
  • Joined

  • Last visited

Community Answers

  1. jarvis's post in Sort Array by Year Gives Wrong Order was marked as the answer   
    Sorted it with
    usort($productions, function($a1, $a2) { $v1 = strtotime($a1['year']); $v2 = strtotime($a2['year']); return $v2 - $v1; // $v2 - $v1 to reverse direction });  
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.