У меня есть массив, как показано ниже, как сортировать данные по убыванию даты и времени?
$manifest = array(
array("date"=>2019-02-21,"time"=>04:49:54,"desc"=>"arrived in indonesia"),
array("date"=>2019-02-25,"time"=>04:02:21,"desc"=>"arrived in soppeng"),
array("date"=>2019-02-22,"time"=>01:42:51,"desc"=>"arrived in makassar"),
array("date"=>2019-02-22,"time"=>02:42:51,"desc"=>"arrived in makassar gateway"),
);
Ожидаемый результат:
$manifest = array(
array("date"=>2019-02-25,"time"=>04:02:21,"desc"=>"arrived in soppeng"),
array("date"=>2019-02-22,"time"=>02:42:51,"desc"=>"arrived in makassar gateway"),
array("date"=>2019-02-22,"time"=>01:42:51,"desc"=>"arrived in makassar"),
array("date"=>2019-02-21,"time"=>04:49:54,"desc"=>"arrived in indonesia")
);
Спасибо за помощь