There have been several moments where I had a rowset from a database as a PHP array, and I had to sort it based on some columns. $tickets = array(    array(        ’id’ => 13,        ’owner’ => ’jachim’,        ’time’ => ’2009-09-25 10:39:42.011612′,        ’project’ => ’jachim.be’,        ’title’ => ’Some random ticket’    ),    array(        ’id’ => 31,        ’owner’ => ’jachim’,        ’time’ => ’2009-09-24 14:38:47.945020′,        ’project’ => ’joggink.be’,        ’title’ => ’Some other random ticket’    ),    array(        ’id’ => 22,        ’owner’ => ’root’,        ’time’ => ’2009-09-24 10:58:02.904198′,        ’project’ => ’joggink.be’,        ’title’ => ’A specific ticket’    )); I searched for functions for a while, and even try to understand/use the array_multisort function, but I never managed to get something working on a simple array [...]