I have the following array:
array
(
[0]=>array
(
[0]=>array
(
[value]=>3.5
[id] =>1
)
[1]=>array
(
[value]=>1.5
[id] =>2
)
[2]=>array
(
[value]=>1.5
[id] =>3
)
)
)
[1]=>array
(
[0]=>array
(
[value]=>4.5
[id] =>1
)
[1]=>array
(
[value]=>5.5
[id] =>2
)
[2]=>array
(
[value]=>6.5
[id] =>3
)
)
)
)
I want to sort the array by value where the id is equal, what is the best way to do this?
< = >
, not just equality.