array([details] => Array([0] => Array( [name] => 454 [location] => 4) [2] => Array([name] => 454 [location] => 5)))
I have array details with two sub arrays [0] and [2]
how to convert and order [2] to [1]
array([details] => Array([0] => Array( [name] => 454 [location] => 4) [1] => Array([name] => 454 [location] => 5)))
any body help me