Filename sort order: Is there a char to put files after Z ?
Moderators: Hacker, petermad, Stefan2, white
Filename sort order: Is there a char to put files after Z ?
Hi. I sometimes add the characters ! or + to a filename or directory name so that they are shown first when TC sorts by filename.
Now I have tried, but I could not find any special character which would send a file to the bottom of the list, i.e. after those files beginning with a "Z".
Is there really none ?
Now I have tried, but I could not find any special character which would send a file to the bottom of the list, i.e. after those files beginning with a "Z".
Is there really none ?
Last edited by chrizoo on 2008-03-25, 18:11 UTC, edited 1 time in total.
æ, ä, ø, ö, å all comes after z - If you don't have a Danish/Norwegian keyboard you can make å by pressing Alt+0229 (num keyboard)
But the sorting also depends on your setting of SortUpper in wincmd.ini.
But the sorting also depends on your setting of SortUpper in wincmd.ini.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
with "2"
2petermad
Hello Peter !
• That's true only when you are not using the full natural sorting (SortUpper=3).
- Here (with "3"), these characters are placed near the closest ones…
FR
Claude
Clo

• That's true only when you are not using the full natural sorting (SortUpper=3).
- Here (with "3"), these characters are placed near the closest ones…

Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
2Clo
So I have to try again to find somethings that comes after z in natural sorting.
We are both right, in a way. I checked it further - the natural sorting (sortUpper=3) is dependant on the language setting of the computer - on my wifes PC which is setup to English, I get the same result as you, where those 4 characters are placed next to a and o. In the Scandinavian languages those characters are considered the last in the alphabet - they are not considered as accented variants of a and o, hence they are shown after z on a Danish PC.Here (with "3"), these characters are placed near the closest ones
So I have to try again to find somethings that comes after z in natural sorting.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Wow ... I have never seen this on any forum anywhere else ... a question and then 4 answers in a couple of seconds (well, kind of), faster than I could come back here and see ...
Love you guys
Just to paying tribute to a really caring community here ...
OK, so now for the technical part
...
I didn't know SortUpper. I have now found this thread from 2005 ... is the info still up2date ?
Or is there an official webpage somewhere for the SortUpper settings ... or, by the way, for any wincmd.ini setting for that matter ?
The very first thing I have tried before posting, was ALT+0 to ALT+255 (should have mentioned that). Not a single character I produced was coming after Z. They were either going before A or somewhere between A-Z according to the char they resemble.
my desired sortorder would be the following: Sort accented variants (äáüè etc.) like the standard letters they correspond to, for example sort Ä like A (or at least before B!). But for the "rest" of the chars (by rest I mean all the special characters (=non-letters) like [ or # ), I would love to sort them "Strictly by numeric character code" (thanks philbo!). Is that combination possible ?
(sorting strictly by numeric code is indeed the most logical way for non-letters, but for letters it's not helpful if "a" comes after "Z" ... )
If that is not possible, I would at least need one char (a single one would really be enough!), which comes after Z.
In the abovementioned thread I found :
This would do the trick, right? I'd keep my sort order but would have one char that comes after Z, namely the underscore, right?
The coolest thing would be if one could attribute "sorting values" to the char codes ...
for example in wincmd.ini
PS: I'm still on TC6.51 unfortunately ... I think "Strictly by numeric character code" or any other sort option is not part of the configuration options. But I do have SortUpper in wincmd.ini. So I guess TC7 only adds a visual frontend, but the underlying function has not changed, right ?
Love you guys

Just to paying tribute to a really caring community here ...
OK, so now for the technical part

I didn't know SortUpper. I have now found this thread from 2005 ... is the info still up2date ?
Or is there an official webpage somewhere for the SortUpper settings ... or, by the way, for any wincmd.ini setting for that matter ?
The very first thing I have tried before posting, was ALT+0 to ALT+255 (should have mentioned that). Not a single character I produced was coming after Z. They were either going before A or somewhere between A-Z according to the char they resemble.
my desired sortorder would be the following: Sort accented variants (äáüè etc.) like the standard letters they correspond to, for example sort Ä like A (or at least before B!). But for the "rest" of the chars (by rest I mean all the special characters (=non-letters) like [ or # ), I would love to sort them "Strictly by numeric character code" (thanks philbo!). Is that combination possible ?
(sorting strictly by numeric code is indeed the most logical way for non-letters, but for letters it's not helpful if "a" comes after "Z" ... )
If that is not possible, I would at least need one char (a single one would really be enough!), which comes after Z.
In the abovementioned thread I found :
.SortUpper=1 : When sorting files, put files starting with an underscore _ last
This would do the trick, right? I'd keep my sort order but would have one char that comes after Z, namely the underscore, right?
The coolest thing would be if one could attribute "sorting values" to the char codes ...
for example in wincmd.ini
Code: Select all
[CharsetSort]
#000=0
#001=1
...
#131=97
...
#255=255
-
- Junior Member
- Posts: 8
- Joined: 2008-03-15, 16:03 UTC
- Location: Deux-Montagnes QC.
Correct!S: I'm still on TC6.51 unfortunately ... I think "Strictly by numeric character code" or any other sort option is not part of the configuration options. But I do have SortUpper in wincmd.ini. So I guess TC7 only adds a visual frontend, but the underlying function has not changed, right ?
BTW You really should update to TC 7. Don't hesitate - just install it over your old TC, it is fully backwards compatible.
Still haven't found any character that sorts after z - sorry.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Regarding Sortupper=1 - It is correct that the help file says:
But the setup dialog in TC 7 says:0: Default sort method
1: When sorting files, put files starting with an underscore _ last
2: Uses mixed lexical and numerical sorting, e.g. file10.txt comes AFTER file1.txt
3: Like 2, but uses StrCmpLogicalW for the comparison. 3 needs IE 6.x installed!
So you see according to that SortUpper=1 gives you sorting ny character code, but unfortunately all the accented characters comes after the underscore .0: Alphabetical, considering accents
1: Strictly by numeric character code
2: Natural sorting: by character code and numbers
3: Natural sorting: alphabetical and numbers"
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
No marking off---
2chrizoo
Hello !
• Actually, the list of choices in the options shown by petermad doesn't display the digits he wrote
as corresponding to the SortUpper=… flags…
- I proposed to add them in the languages files (you can use a standalone <English.lng> as well “WCMD_ENG.LNG”),
but my proposal has been shot down in flames
KR
Claude
Clo

• Actually, the list of choices in the options shown by petermad doesn't display the digits he wrote
as corresponding to the SortUpper=… flags…
- I proposed to add them in the languages files (you can use a standalone <English.lng> as well “WCMD_ENG.LNG”),
but my proposal has been shot down in flames


Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
Re: No marking off---
thanks guys.
So is there a number that actually corresponds to the desired behaviour I posted above ?
And since there seem to be some discrepancies in the description of what SortUpper does, I would like to reiterate my question if there is webpage where all of the wincmd.ini settings are listed in one place ... (somewhat like the wiki that exists for the about:config settings in Firefox ...) ?
no, seriously !
BTW, do you watch the "dupes topic" ? I've given a bit of comments over there ... I hope Mr.Ghisler reads ...
And I really hope that your excellent suggestion gets implemented one day ... I mean you posted that years ago!!
So is there a number that actually corresponds to the desired behaviour I posted above ?
And since there seem to be some discrepancies in the description of what SortUpper does, I would like to reiterate my question if there is webpage where all of the wincmd.ini settings are listed in one place ... (somewhat like the wiki that exists for the about:config settings in Firefox ...) ?
Salut Clo, I'm afraid I don't really understand what you are talking about here ... ?? [headscratching]Clo wrote: Actually, the list of choices in the options shown by petermad doesn't display the digits he wrote
as corresponding to the SortUpper=… flags…
Once more ... your suggestions are either shot down in flames or - worse - completely ignored ... if this continues like that I'll organize a protest march for you or a petition or something like that ...I proposed to add them in the languages files (you can use a standalone <English.lng> as well “WCMD_ENG.LNG”),
but my proposal has been shot down in flames
no, seriously !

BTW, do you watch the "dupes topic" ? I've given a bit of comments over there ... I hope Mr.Ghisler reads ...
And I really hope that your excellent suggestion gets implemented one day ... I mean you posted that years ago!!
Clo just means that the numbers 0, 1, 2, 3 in the options are put in by me, they are not there in the real dialog, which clo thinks they ought to be.I don't really understand what you are talking about here
They are in the Help file under:...if there is webpage where all of the wincmd.ini settings are listed in one place
4. Configuration and switches
b. INI-File settings: wincmd.ini, wcx_ftp.ini (for FTP)
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar