Natural Order Sorting

English support forum

Moderators: Hacker, petermad, Stefan2, white

User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

2 better than none!

Post by *Clo »

2van Dusen
:) Good evening !

- Just a time-shift of 4' shows that the forum provides a good support… Moreover, I'm very concerned by that topic, because :
«It works too under Win 98 SE if you have IE 6.0 installed. Found out by chance… by myself » :P
- Anyway, two close replies are always better than none…

:mrgreen: VG
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
chea
Junior Member
Junior Member
Posts: 47
Joined: 2005-07-23, 11:42 UTC

Post by *chea »

Thanks, guys!

I chose the number 3, even tho I don't have IE6 installed. It works fine.


I'm off reading the tutorials, now. Better late than never... :lol:
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2chea
I chose the number 3, even tho I don't have IE6 installed. It works fine.
In case IE 6 is not installed SortUpper=2 is used. This is also a natural sorting method but it's unable to sort language-specific characters properly.
qda
Junior Member
Junior Member
Posts: 65
Joined: 2003-06-13, 08:36 UTC

Post by *qda »

just wanted to say: it took me a while to figure out that natural sorting exists in the program

and it is awesome

thanks ghisler for updating it so well and listening to requests!
User avatar
ThurahT
Member
Member
Posts: 112
Joined: 2003-07-24, 14:43 UTC

Post by *ThurahT »

ghisler(Author) wrote:Just for your info, I have now added natural sorting to TC. The above code wasn't quite what I expected (too simple), so I wrote my own. I will consider a method to change the sort type quickly.
I wonder if this got implemented (the change Sort Method quickly part)? And what the keyboard shortcut to toggle between Sort Methods is since I can't find it?

I tried to make my own keyboard shortcut for that but couldn't find the proper cm_? to do so. The ones I found was for columns. So what I want is to have one command for toggling through all the SortUpper=0/1/2/3 there is.
Total Commander and Gaming. Only reasons left to use Windows.
User avatar
petermad
Power Member
Power Member
Posts: 16030
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2ThurahT

There are currently (TC 7.56a) no internal commands (cm_ commands) for the different sort-upper options.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ThurahT
Member
Member
Posts: 112
Joined: 2003-07-24, 14:43 UTC

Post by *ThurahT »

Oh. Well that explains why I didn't find it then. Maybe I should post it as a feature request somewhere, because I think it'd be nice to be able to do it quickly with a single command instead of: alt+o->o->down->alt+m->down/up->enter (english). Thx for your reply.
Total Commander and Gaming. Only reasons left to use Windows.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I don't understand why do you need to switch sorting so often at all. :)
Different sortings may confuse, especially in some cases (that's why I hate natural sortings - they doesn't understand HEX numeration like test_01, test_02, ..., test_09, test_0A, test_0B, ..., test_10, ...).
User avatar
Vochomurka
Power Member
Power Member
Posts: 816
Joined: 2005-09-14, 22:19 UTC
Location: Russia
Contact:

Post by *Vochomurka »

I agree with ThurahT. Just one our ago :lol: I have needed to dynamically switch the SortUpper key...
Single user license #329241
PowerPro scripts for Total Commander
User avatar
ThurahT
Member
Member
Posts: 112
Joined: 2003-07-24, 14:43 UTC

Post by *ThurahT »

MVV wrote:I don't understand why do you need to switch sorting so often at all. :)
Different sortings may confuse, especially in some cases (that's why I hate natural sortings - they doesn't understand HEX numeration like test_01, test_02, ..., test_09, test_0A, test_0B, ..., test_10, ...).
I totally agree with you. That is the preferred naming and sorting I would choose also. But sometimes you get assigned tasks which deals with very tricky sorting done by others not so enlightened and you have to switch a lot back and forth between multiple dirs with different sort orders.
Total Commander and Gaming. Only reasons left to use Windows.
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

Likewise, I've had need to change sorting on the fly.
The sort method is similiar to display switches: Show/Hidden Sys, 8.3 FileNames, "No Sorting", Sort folders with FileNames, Sort by Columns, Reverse Sort.

I wouldn't necessarily want the command to change the INI file's chosen default sort-method, as opposed to being able to change the sort-method for a given tab - and have that method/override saved with the tab. With it being a TC command, it would also be able to be displayed in the Menu's to see which sort method is active [checkbox].

Although that in and of itself goes along with other requests of myself and others to allow Filtering per tab - instead of only per panel :P
trevor12
Junior Member
Junior Member
Posts: 65
Joined: 2012-12-06, 15:16 UTC
Location: Czech republic

dumb solution

Post by *trevor12 »

I use default sort-method (I did not know about natural sorting) so when I want (especially for viewing jpg files in irfanview)

file3.jpg, file20.jpg, file2.jpg, file10.jpg, file1.jpg to be sorted like this: file1.jpg, file2.jpg, file3.jpg, file10.jpg, file20.jpg

I use multi rename function and add 0 before number(s) in filenames

that is

file3.jpg, file20.jpg, file2.jpg, file10.jpg, file1.jpg is renamed to file01.jpg, file02.jpg, file03.jpg, file010.jpg, file020.jpg
Post Reply