i have some booking data in an array, they are already sorted by [eng], but I also want to sort by [ampm], so each group of [eng] is sorted by [ampm]. Does anybody know how to accomplish this in php?
Array
(
[xml] => Array
(
[booking] => Array
(
[0] => Array
(
[date] => 29/12/10
[eng] => ALS
[ampm] => AM
[time] => 2.00
[type] => S
[seq] =>2
[duration] => 0
)
[1] => Array
(
[date] => 29/12/10
[eng] => BDS
[ampm] => PM
[time] => 2.30
[type] => S
[seq] => 3
[duration] => 0
)