How can I sort inner array keys in DESC order?
I can sort 11, 12 in DESC order with arsort()
but inner array remains same. I tried array_multisort()
, usort()
and others but without luck.
Array
(
[11] => Array
(
[4] => apr11timetable.php
[8] => aug11timetable.php
[6] => jun11timetable.php
[11] => nov11timetable.php
[10] => oct11timetable.php
)
[12] => Array
(
[4] => apr12timetable.php
[8] => aug12timetable.php
[2] => feb12timetable.php
[6] => jun12timetable.php
[10] => oct12timetable.php
)
)