I want the files of the folder to appear just below their folder. if there are subfolders (with or without files), display these first.
files have existing hash key 'file'. folders do not.
this is maybe more understandable:
A-Folder
AA5-Folder
| ----- AAA5-File1
| ----- AAA5-File2
BB5-Folder
CC5-Folder
A-File1
A-File2
A-File1/2 are at the end of the list, because they are files.
maybe this screenshot helps more:
http://img212.imageshack.us/img212/3610/bildschirmfoto1u.png
-> files are below subfolders
| [reply] [d/l] |