I have array like this
Array
(
[0] => Array
(
[id] => 16059
[product_id] => 4013
[Product] => Array
(
[id] => 4013
[name] => XYZ
)
)
[1] => Array
(
[id] => 16060
[product_id] => 4462
[Product] => Array
(
[id] => 4462
[name] => MNOP
)
)
[2] => Array
(
[id] => 16061
[product_id] => 4473
[Product] => Array
(
[id] => 4473
[name] => ABCD
)
)
)
How to short this array using Product > name in ascending order. I can do using for-each loop, but there is any method to without loop ?