В API PHP у меня есть этот массив, и я хочу отсортировать его по custom_price, но не понимаю, как этого добиться..< /p>
Код: Выделить всё
Array
(
[0] => Array
(
[id] => 1204
[custom_price] => 33.1500
)
[1] => Array
(
[id] => 1199
[custom_price] => 16.83
)
[2] => Array
(
[id] => 1176
[custom_price] => 16.83
)
[3] => Array
(
[id] => 1173
[custom_price] => 11.73
)
[4] => Array
(
[id] => 1170
[custom_price] => 22.5
)
)
Подробнее здесь: https://stackoverflow.com/questions/506 ... sted-value
Мобильная версия