I have an array of directories (a search which includes subdirectories). I’d like to sort the results, like so:
Test
---A
----A.A
---B
So the collection lists the directory, and then all of the directories within it, and so forth, for every directory.
How could I sort an array like this?
Thanks
If sorting this alphabetically will do this for you (which I think it should)…
With
You should be able to use
or