Forum - File & Image Uploader
English (Global) => Requests => Completed => Topic started by: Pete on 09-10-2015, 12:12:02
-
Hi,
first of all I want to thank you for this amazing program. I then have a small suggestion:
The situation is the following:
You have files named 1.jpg, 2.jpg, 10.jpg, 11.jpg.
Windows will sort them logically like this: 1.jpg, 2.jpg, 10.jpg, 11.jpg.
When you drag&drop those files into the uploader the list in the popup window and later in the main upload list will be sorted like this: 1.jpg, 10.jpg, 11.jpg, 2.jpg.
This can be a problem/annoyance (I ran into several times), when you upload several archives/pics and you later want to get the them in a 'normally' sorted way (1, 2, ..., 10) but you have to manually sort them because zoomUploader sorts them in another way.
May I suggest changing the default list sorting to the Windows like sorting? It's called alphanumeric sorting ( http://www.davekoelle.com/alphanum.html ).
btw, what language did you write the program in?
Thank you and greetings
And thank you for allowing posting without having to register first - really like that.
-
I don't know what you do but my program uses natural ("alphanumeric") sorting.
I have just tested it to make sure and it gets sorted like 1, 2, 10 ... not like 1, 10, 2
-
This is what I get:
http://img6.pixhost.org/images/4105/29824583_test.jpg
W7x64.
-
Oh I just found out the problem lies in the drag & drop. If you drag & drop files into the program, the sorting is messed up.
If you add it via File -> Add File it works fine.
-
I see, there. That depends how system adds it into my program.
You can click on the header (in the upload queue list) and it will sort files.
-
Yes clicking to sort the colum can help, although it will then mix for example archives and pictures.
The problem also comes by the way, when adding whole folders via File -> Add Folder.
Maybe just run an additional sort after the items got added to the popup window (the one in my screenshot above). Only takes some miliseconds but will prevent this problem/disparity between the two modes (Add File/Add Folder).
-
You can sort by host ...
-
Sorting by host will remove the alphanumeric sort. See this screenshot.
So just running a natural sort function on the file list in the popup window after it got populated would solve this.
-
I see, I will update that sorting by host. I don't plan to change the way it is added.