I'm using array_multisort for sorting a multi-dimensional array but the final result does not keep the same keys for level 1. All the keys are numeric and i don't know if this could cause this issue. Here's the structure of the array:
[23] => Array
(
[107] => Array
(
[1] => 1
after array_multisort it becomes like this:
[0] => Array
(
[107] => Array
(
[1] => 1