This is what most operating systems do by default. When managing files and folders within the Spaces web interface, you should show folders first, then everything else.
The way my objects are stored, I have thousands of objects, and then a couple of subfolders. The folders are buried way down the list and I have to remember the names of said folders and search if I am to find them. I tried different naming conventions to get them at the top, but nothing practical has worked, and I don't want to have to come up with ridiculous names just to suit the web interface.
Is there a reason this was not done? I personally would like to see it work that way.