есть массив:
Array
(
[Pinaceae Lindl.] => Array
(
[aborigen_count_rod] => Array
(
[0] => 1
)
[aborigen_count_vid] => Array
(
[0] => 2
)
)
[Asteraceae Dumort.] => Array
(
[aborigen_count_rod] => Array
(
[0] => 1
)
[aborigen_count_vid] => Array
(
[0] => 1
)
)
[Adoxaceae Trautv.] => Array
(
[aborigen_count_rod] => Array
(
[0] => 1
)
[aborigen_count_vid] => Array
(
[0] => 3
)
)
[Magnoliopsida] => Array
(
[aborigen_count_rod] => Array
(
[0] => 1
)
[aborigen_count_vid] => Array
(
[0] => 1
)
)
)
Как сортировать по [aborigen_count_vid] по убыванию не нарушая родительскую принадлежность?