home | list info | list archive | date index | thread index

Re: file managers sorting files by name in wrong order

As I said in my earlier e-mail, I think the filename sort logic is skewed.

                    |<<< behaviour reflects sub-string cutoff for number sort logic
                    |
    200410    PeterFrohn95thBirthday02withFamily.jpg 19460904PeterFrohnwedding01.jpg
    19460904    PeterFrohnwedding02.jpg
    19460904    PeterFrohnwedding03.jpg
    19460904    PeterFrohnwedding04.jpg
    19460926    AlphonseFrohnmarriesReneev.Seters01.jpg
    19460926    AlphonseFrohnmarriesReneev.Seters02.jpg
    19460926    AlphonseFrohnmarriesReneev.Seters03.jpg
    19460926    AlphonseFrohnmarriesReneev.Seters.jpg

200410  < 19460904

🙁


On 2025-06-29 21:00, Nash JC - NCF via linux wrote:
Indeed. Worth a watch.

However, I've still no idea why the files

19460904PeterFrohnwedding01.jpg
19460904PeterFrohnwedding02.jpg
19460904PeterFrohnwedding03.jpg
19460904PeterFrohnwedding04.jpg
19460926AlphonseFrohnmarriesReneev.Seters01.jpg
19460926AlphonseFrohnmarriesReneev.Seters02.jpg
19460926AlphonseFrohnmarriesReneev.Seters03.jpg
19460926AlphonseFrohnmarriesReneev.Seters.jpg

sort after 200410PeterFrohn95thBirthday02withFamily.jpg

in a number of file managers. I'm guessing something like Beattie is presenting.

Erics suggestion that the preferences might be adjustable doesn't seem to offer any help. I'm of the opinion that the presentation order counts as a bug unless someone can offer a clear reason (and presumably a workaround). Fortunately,
Double Commander does a nice job!

Cheers, JN


On 2025-06-29 18:18, Dianne Skoll via linux wrote:
On Sun, 29 Jun 2025 14:41:36 -0400
Nash JC - NCF via linux <linux [ at ] linux-ottawa [ dot ] org> wrote:

yyyymmdd files seem to be at end in many file managers

Sorting is not as easy as it might seem, nor is plain text. This video
by Dylan Beattie is long, but IMO worth watching...

https://www.youtube.com/watch?v=gd5uJ7Nlvvo

Regards,

Dianne.

To unsubscribe send a blank message to linux+unsubscribe [ at ] linux-ottawa [ dot ] org
To get help send a blank message to linux+help [ at ] linux-ottawa [ dot ] org
To visit the archives: https://lists.linux-ottawa.org



To unsubscribe send a blank message to linux+unsubscribe [ at ] linux-ottawa [ dot ] org
To get help send a blank message to linux+help [ at ] linux-ottawa [ dot ] org
To visit the archives: https://lists.linux-ottawa.org