Here's my array, how do I sort it by saleref?
Array
(
[xml] => Array
(
[sale] => Array
(
[0] => Array
(
[saleref] => 12345
[saleline] => 1
[product] => producta
[date] => 19/ 3/10
[manifest] => 0
[qty] => 1
[nextday] =>
[order_status] =>
)
[1] => Array
(
[saleref] => 12344
[saleline] => 1
[product] => productb
[date] => 18/ 3/10
[manifest] => 11892
[qty] => 1
[nextday] =>
[order_status] =>
)