Feature request: natural sorting

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Thany
Senior Member
Senior Member
Posts: 293
Joined: 2003-09-30, 09:20 UTC
Location: Netherlands

Feature request: natural sorting

Post by *Thany »

I couldn't find this in the help file, so I just assume it hasn't been implemented. For those out there who don't know what natural sorting is, consider the following lists:

Code: Select all

1   1
10  2
11  3
12  4
2   5
20  10
21  11
3   12
4   20
5   21
The left list is "alphanumerical" or "binary" sorting. It's very simply comparing two strings, also very fast. The right list is the more modern "natural" sorting, only a tiny bit slower. The Windows Explorer in XP uses this by default, and more and more programs implement this algortihm, just because the resulting sorted list looks natural.

Christian, if you want Delphi code for the natural sorting algorithm, I can post it here or mail it to you, whatever you prefer.
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Thany

Have you tried SortUpper=2?
Thany
Senior Member
Senior Member
Posts: 293
Joined: 2003-09-30, 09:20 UTC
Location: Netherlands

Post by *Thany »

In the INI file or something? Lemme see... Ah yes.

Well, it should become an option in the options dialog then, because you can't tell a novice user to hack something in an INI file (believe me, I tried once).
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

OK- under Win98

Post by *Clo »

2Lefteous
Have you tried SortUpper=2?
:)  Hello Lefteous!

• Nice tip! Thank you, that works even under Win 98SE!

• I've not in the Help, Ch. G. forgot to update, I've only " '1/0", but not "2"

:mrgreen: V G
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6970
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: OK- under Win98

Post by *Horst.Epp »

Clo wrote:2Lefteous
Have you tried SortUpper=2?
:)  Hello Lefteous!
...
• I've not in the Help, Ch. G. forgot to update, I've only " '1/0", but not "2"

:mrgreen: V G
Clo
Its in the help, at least if you have the actual version.
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Not wizard...

Post by *Clo »

2Horst.Epp
Hi!
• Isn't in the French version - I translate it-. I can't add that is missing in the texts I receive from the Author...
• I did this at the moment - in the French Tutorial, I noticed for the others-... :wink:

:mrgreen: KR
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
pdavit
Power Member
Power Member
Posts: 1529
Joined: 2003-02-05, 21:41 UTC
Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
Contact:

Post by *pdavit »

Thany wrote:Well, it should become an option in the options dialog then, because you can't tell a novice user to hack something in an INI file (believe me, I tried once).

Check this out: http://www.ghisler.ch/board/viewtopic.php?t=934 (for historical reasons!) ;)

Your request has been asked before (actually by me) in the beta testing forum (which I'm not allowed to include here the details). In a round up, Christian thought the feature is too specific and/or not many users will use it so that an option in the configurations or a shortcut of some kind should be justified.

I can vividly remember mentioning that the feature is not even included in the "what's new" section of the help file despite its importance and that it can be easily missed out by new users. I guess Christian doesn't want to take credit for his hard work! Oh, well!... :)
"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
Post Reply