0

it might be a duplicate of question but not getting how to do in my case.

i have a array

array([status]=>array([0]=>array([time][id])
                array([1]=>array([time][id])

tried krsort($array[status]);

but got sorting on id where as i want to do sorting according to time in descending order.

Kandarp Patel
  • 1,035
  • 8
  • 20

0 Answers0