Problem: alphabetical sort by (full) filename

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
gt13
Junior Member
Junior Member
Posts: 37
Joined: 2004-02-12, 07:38 UTC
Location: France

Problem: alphabetical sort by (full) filename

Post by *gt13 »

Hello,

When sorting files by alphabetical order, TC seems to consider that the files have an extension, and that extension is dropped in the sorting process.
This is very annoying when one uses files without extension, as here for instance.

Another simpler example, where it would be better to list aa.bb.01 before aa.cc

Regards,
gerard
Last edited by gt13 on 2007-11-09, 07:21 UTC, edited 1 time in total.
User avatar
Stitscher
Power Member
Power Member
Posts: 1058
Joined: 2004-02-17, 12:34 UTC
Location: Hamburg, Germany

Post by *Stitscher »

2gt13
Did you look in your settings?
Configuration---Options--Display---Sort method
Try "Natural sorting: alphabetical and number"

Stitscher
gt13
Junior Member
Junior Member
Posts: 37
Joined: 2004-02-12, 07:38 UTC
Location: France

Post by *gt13 »

I just have tried the 4 sorting options. It is the same.
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

IE6…

Post by *Clo »

2gt13

:) Hello !

• To get SortUpper=3 (best alpha-num sorting) working, you need Internet Explorer- 6 or newer installed…
- If so, that works even under Win 98 SE (while M$ tells wrongly it doesn't).

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
gt13
Junior Member
Junior Member
Posts: 37
Joined: 2004-02-12, 07:38 UTC
Location: France

Post by *gt13 »

@ Clo :
I have IE7 installed. I run XP SP2.

Does it work on your computer? Please try this
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

1- Name - 2 Extension

Post by *Clo »

2gt13

:) Hello !

• It works perfectly here, I'm the guy who discovered it works under Win 98 SE ;)
- But that you show is normal : You have a last part of the file-names “saw” as extensions,
and these “extensions” are sorted then as they would.

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
gt13
Junior Member
Junior Member
Posts: 37
Joined: 2004-02-12, 07:38 UTC
Location: France

Post by *gt13 »

@ Clo
yes, I know. It is what I say from the very beginning of this post !!!
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Don't hide

Post by *Clo »

2gt13

:) I guess that it should be sorted else by displaying the real extentions.
That's not a good thing to hide them in Windows, I never do.
- Anyway, this is a feature coming from Windows, and I assume that TC can't change anything at this…

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
gt13
Junior Member
Junior Member
Posts: 37
Joined: 2004-02-12, 07:38 UTC
Location: France

Post by *gt13 »

@ Clo
I never hide extensions on my computers. The problem is not there.
User avatar
Vansumsen
Power Member
Power Member
Posts: 761
Joined: 2003-11-09, 08:16 UTC
Location: Belgique
Contact:

Post by *Vansumsen »

:arrow: gt13

Go to Configuration >>> Options >>> Tabstops >>> Click on "Show file extensions aligned with tab" and you will see that SortUpper=3 works correctly and sort only the names without keeping the extensions.

So you get :
aa_________.bb
aa_________.cc
aa.bb______.01
aa.bb______.02

If there is an extension you get :
aa.bb______.ext
aa.bb.01___.ext
aa.bb.02___.ext
aa.cc______.ext

Friendly

Paul

As a work arround : replace de "." by another character in your names ("_" or"," by sample) you will get :
aa,bb
aa,bb,01
aa,bb,02
aa,cc
Ouistiti, #11943

L'important n'est pas de convaincre, mais de donner à réfléchir.
The important thing is not to convince, but to incite to think.

1,77245385090552...
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

2gt13

- Create a new "custom column" :
<Shift +F1> -> "Configure custom columns" -> [New]

- Add these columns:

Code: Select all

Caption  |Width | Align  |  Field contents
-------------------------------------------
Size       |  26   |  ->     |  [=tc.size]
-------------------------------------------
Date      |  51   |  <-     |  [=tc.writedate]
-------------------------------------------
Attr       |  16   |  <-     |  [=tc.attributestr]
-------------------------------------------
Fullname|  34  |  <-      |  [=tc.fullname]
- and sort by column "Fullname"

HTH,
Holger
User avatar
Sam_Zen
Power Member
Power Member
Posts: 700
Joined: 2005-02-08, 22:59 UTC
Location: NL
Contact:

Post by *Sam_Zen »

No extension, or hiding them : Yegghh..
0.618033988
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

Another workaround, if the above don't help: use a second sorting option:
first by name, second by extension
(after sorting by name hold down the Ctrl key while clicking on the "Extension" column).
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
gt13
Junior Member
Junior Member
Posts: 37
Joined: 2004-02-12, 07:38 UTC
Location: France

Post by *gt13 »

@ Vansumsen
-------------------
In the upper screen captures, my files are shown with the extension (if exists) attached to the file name.
I have thousands of files like that, and it is out of purpose to rename them!


@ HolgerK
--------------
Thanks for this trick. It works (see here) but as it, it is not convenient because
- it completely changes the TC interface,
- it does not work in ZIP archives (and in fact most of my files are in archives).

But it proves that TC can do the work.
That is why I would appreciate in one of the TC menus a command like "Sort by fullname". :)
Is it conceivable ?


@ StatusQuo
-----------------
Thanks for this trick. But it does not work in my case, since I need that TC considers the "fullname".


Thanks to you all
Gerard
gt13
Junior Member
Junior Member
Posts: 37
Joined: 2004-02-12, 07:38 UTC
Location: France

Post by *gt13 »

Just "upping" this old suggestion that I still consider usefull (for my usage of TC).
Post Reply