Page 1 of 1

file list order obvious ?!

Posted: 11 Aug 2008, 22:08
by RoelofB
See attachment screenshot image : I do not understand "order by name" : obviously an '_' is before an 'a', which is before an '0', which is before 1-9, etc. but why are there 2 sections of filenames beginning with 'IE6' in the example screenshot?

Posted: 11 Aug 2008, 22:50
by cincura.net
What's you set up of Configuration > Panels > Use numerical sort ...?

Sorting options

Posted: 11 Aug 2008, 23:06
by RoelofB
See image : this was my Salamander setting of the posted file list screenshot. I admit, changing these two checkboxes differs the order, but no (?!) combination of them acts logical in this file list, regarding my described sorting rules.

And / but what about the order in IE? Can I change its "sort setting" also?

Re: file list order obvious ?!

Posted: 12 Aug 2008, 00:47
by SvA
RoelofB wrote:... obviously an '_' is before an 'a', which is before an '0', which is before 1-9, etc.
Evidently, what you call obvious is not obvious at all, otherwise you would not ask.

Windows Explorer started to try to make sense of sequences of digits in names and sort these digits according to its numerical order. You can think of this like any sequence of digits is regarded as one character which is sorted like a digit with value of the sequence. Salamander tries to mimic this behaviour if options are set accordingly.

Windows seems to place these numbers even before the end of the name part (or maybe before the dot, I did not investigate this). Salamander sorts them, more logically, after shorter strings.

Digits are usually sorted before characters, not after them, as your statement suggests.

Regional settings might change this, as well as how accented and other special characters are sorted and where non-alphanumeric characters are placed.

If you want to get all ie5* in a row, you either need to turn off numeric sorting or add some seperator (like '_') in all file names alike. As it is now, 50 is greater than 6 and therefore is sorted after it. 501 again is greater than 60.

OK !

Posted: 12 Aug 2008, 02:25
by RoelofB
Thanks SvA! Now I understand a lot more.
And about 'obvious' : this triggered a good answer .. :)

Posted: 12 Aug 2008, 10:18
by Petr Solin
W2K and Vista sorts IE5_.jpg before IE5_5.jpg. XP sort order is reversed: IE5_5.jpg is before IE5_.jpg. I have fixed it, so Salamander will sort the same way as Explorer also on XP. Thanks for reporting this difference.