Tableau initial
ArrayObject Object
(
[storage:ArrayObject:private] => Array
(
[abc] => Blanc
[cdef] => Outremer
[c] => Rouge
[abcdef] => Vert
[x] => Orange
[ef] => Noir
)
)
Tri selon la longueur des valeurs
ArrayObject Object
(
[storage:ArrayObject:private] => Array
(
[cdef] => Outremer
[x] => Orange
[abc] => Blanc
[c] => Rouge
[abcdef] => Vert
[ef] => Noir
)
)
Tri selon la longueur des clés
ArrayObject Object
(
[storage:ArrayObject:private] => Array
(
[abcdef] => Vert
[cdef] => Outremer
[abc] => Blanc
[ef] => Noir
[x] => Orange
[c] => Rouge
)
)