how can sort the following array
Array
(
[17] => Array
(
[network_id] => 17
[network_name] => M4N
[total_transactions] => 4
[commission] => 6.08
[ordervalue] => 101
[pending] => 0
[approved] => 4
)
[18] => Array
(
[network_id] => 18
[network_name] => Zanox
[total_transactions] => 32
[commission] => 33.7
[ordervalue] => 1010.45
[pending] => 0
[approved] => 32
)
)
I want to sort the above array by following sort options
- No of Transactions (high to low)
- Commission (high to low)
- Order value (high to low)
I am trying to sort it by using array_multisort
but not success so far