Array ( [112566] => Array ( [0] => 1415346186 ) [112370] => Array ( [0] => 1415346220 ) [111064] => Array ( [0] => 1415346259 ) [48629] => Array ( [0] => 1415346287 ) )
I have such an array. How to sort it by key value 0, from the largest to the smallest?
I tried this option, but no sorting happens:
usort($array, function($a, $b){ return ($a[0] - $b[0]); });