Voici mon tableau, comment le trier par saleref?tri tableau associatif PHP
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] =>
)
double: http://stackoverflow.com/questions/2426917/how-do-i- tri-multidimensionnel-array-by-one-of-the-fields-of-the-inner-array-in –