In order to to build up a menu structure i read out a special folders with all its subfolders recursively. Now the problem is, that they are unsortet, better, i can't see where the parent folders of them. Example:
Folder1 ->Subfolder1 ->SubSubfolder1
now the result of my recursive search is
SubSubfolder1, SubSubfolder2, Subfolder1, sSubfolder1, sSubfolder2, Subfodler2, Folder1
Now i want to mark them eg like this:
f1s1SubSubfolder1, f1s1SubSubfolder2, f1Subfolder1, f1s2SubSubfolder1, f1s2SubSubfolder2, f1Subfolder2, Folder1.
Does anybody know how to do this??