Looking around for this issue and I apologize if my search was not sufficient enough.
When uploading several folders within the root what criteria does the folder view use to display the folders?
I would like to have the folders sort alphabetically and not which is the case now where there does not seem to be any logical explanation for how the folders are viewed. When you have 5 or 10 folders this is not such a big issue but when you have 50 folders the viewing can be somehwhat confusing.
Any help or pointers would be greatly appreciated.
When uploading several folders within the root what criteria does the folder view use to display the folders?
I would like to have the folders sort alphabetically and not which is the case now where there does not seem to be any logical explanation for how the folders are viewed. When you have 5 or 10 folders this is not such a big issue but when you have 50 folders the viewing can be somehwhat confusing.
Any help or pointers would be greatly appreciated.
Re: Sorting folders by name
The subfolders created inside are sorted alphabetically according to their names.
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
Re: Sorting folders by name
Thanks for your reply.
![Image](http://wildwestsupport.se/ckfinder.jpg)
Seems pretty straight forward and logical.
Below you see, however, the folder structure of some uploaded files.
Mappar is Swedish for folders.
In images several folders are created on the fly.
Is there a more structured manner in which I can reach the desired effect.
Thanks for any help provided.
Re: Sorting folders by name
Could you tell me what is your CKFinder version and which server-side version do you use? How do you create the subfolders? Do you use the UI ("Create subfolder") or a different method?
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
Re: Sorting folders by name
I took your advice and added a couple of folders on your demo. Worked flawlessly and sorted the folders correctly.
I have the latest version - if yet still in demo mode. Version 2.1.1
I am using the classic ASP version of CK Finder.
Using the UI to create folders.
Could there be a setting serverside that is causing a problem?
Probably the case because I attempted the same thing with another host and there it worked perfectly.
Edit: IIS 7.0 and .NET version: 4.0. Can alter between .NET version 4 and 2.
Re: Sorting folders by name
If you're working with classic asp then the version of the .net framework doesn't matter for the listing of folders, that's done using the FileSystemObject folder.folders collection: http://msdn.microsoft.com/en-us/library ... 84%29.aspx
Unfortunately it seems that it isn't specified anywhere the order in which the folders are retrieved with that object and although so far it seemed to work fine for the rest of the people (or no one did bother to report such a problem), I can't suggest any direct workaround on your server to correct the order.
I'm testing some code to always sort the folders, but I want to try to find a way to avoid that extra sorting for the rest of the people as getting folders is an operation that it's too common and I wouldn't like to introduce any delay (although thinking about it, I guess that this should be so fast that it won't be a real matter to anyone).
Anyway, I'll try to share some code that you can test after I debug it a little more.
Re: Sorting folders by name
I Appreciate the effort.
Re: Sorting folders by name
Re: Sorting folders by name
Thanks much!