I'm looking for a php (sort?)function which move a specific key ('current_files'
) to the bottom of its array level.
I have sth like that:
[A] => [
[current_files] => [
[0] => ...
[1] => ...
]
[D] => [
[G] => [...]
[current_files] => [...]
[B] => [...]
]
]
[current_files] => [...]
[K] => [...]
I need this:
[A] => [
[D] => [
[G] => [...]
[B] => [...]
[current_files] => [...]
]
[current_files] => [
[0] => ...
[1] => ...
]
]
[K] => [...]
[current_files] => [...]
I know that i need a recursive function like arr_multisort but i dont understand it -_-