Numeric Sort - Just what is the logic here?

This is a place for users to discuss Altap Salamander. Please feel free to ask, answer questions, and express your opinion. Please do not post problems, bug reports or feature requests here.
therube
Posts: 588
Joined: 14 Dec 2006, 06:22

Numeric Sort - Just what is the logic here?

Post by therube » 28 Jul 2017, 19:18

Numeric Sort - Just what is the logic here?

More curious then anything...

Options | Configuration | Panels -> Sorting ==> Use numerical sort for numbers contained in strings

And with that, what logic is being used with this particular directory set?


(Extract ZIP [.7z] contents, ~325 files, into an empty directory.
Actually you don't even need to extract the files, as they will
list the same from within the .7z.)


Oh, & sort the list alphabetically (Name) - with Numerical sorting enabled too.
Attachments
salamander.numeric.sort.test.7z
(85.86 KiB) Downloaded 24 times
WinXP Pro SP3 or Win7 x86 | SS 2.54

User avatar
SelfMan
Posts: 877
Joined: 05 Apr 2006, 20:51
Contact:

Re: Numeric Sort - Just what is the logic here?

Post by SelfMan » 30 Jul 2017, 12:12

From he Help FIle:
Use numerical sort for numbers contained in strings
When checked, it tries to detect numbers in names and sort according to the values of such numbers. E.g. when this is turned on, you will see 2.txt followed by 10.txt (2 is less than 10), if turned off, you'll see 10.txt followed by 2.txt (character '1' precedes '2').
I hope this clears thing for you.

Post Reply