Sort files numerically?

Support for Android version of Total Commander

Moderators: petermad, Stefan2, Hacker

Post Reply
DaveF
New Member
New Member
Posts: 1
Joined: 2026-01-31, 00:51 UTC

Sort files numerically?

Post by *DaveF »

Hi
Using v3.41d (The latest on Amazon's Appstore for my Kindle Fire 5th Gen).

How can I display file names containing numbers in the correct order 
'File 10.mp3' is being listed adjacent to 'File 1.mp3' instead of 'File 9.mp3'.

I can't find anything under 'Configure', or 'Sort active panel'.

Is there such an option?
User avatar
white
Power Member
Power Member
Posts: 6941
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Sort files numerically?

Post by *white »

This probably still applies:
ghisler(Author) wrote: 2019-12-29, 08:42 UTC Sadly there is no sort function in Java to sort with this so called "natural sorting" method. I could do my own sort function, but it would be many orders of magnitude slower because java byte code is much slower than hard coded machine code used now.
User avatar
popthezid
Junior Member
Junior Member
Posts: 36
Joined: 2024-11-23, 03:44 UTC

Re: Sort files numerically?

Post by *popthezid »

To be honest, I was also troubled by this issue, to the point where I had to add Mixplorer to the toolbar and call it using parameters.
Mixplorer does have this option, but when it comes to renaming files, it doesn’t offer as many placeholders as TC does.

So I’m forced to go through the process multiple times.
As for the performance issues mentioned by Ghisler, I think those are probably exaggerated.
After all, no one would need to handle thousands or tens of thousands of files on their phone. Handling dozens or hundreds of files at a time might be possible.Why do we use TC on our phones? Only to deal with special situations in our work and daily lives.

I think adding this option would be useful. A note explaining that it might slow down file listing could be included, but being able to complete these tasks all at once in TC would still be very helpful.
lic#206911
Windows10 22H2 Home
Total Commander 11.58 32bit / 3.62d
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 53162
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Sort files numerically?

Post by *ghisler(Author) »

no one would need to handle thousands or tens of thousands of files on their phone
You haven't seen my photos folder. :)
Author of Total Commander
https://www.ghisler.com
Post Reply