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

Re: file managers sorting files by name in wrong order

  • Subject: Re: file managers sorting files by name in wrong order
  • From: Nash JC - NCF <nashjc [ at ] ncf [ dot ] ca>
  • Date: Sun, 29 Jun 2025 22:13:46 -0400
Thanks for confirming behaviour. That's always a start in fixing things.

Also the link.

JN

On 2025-06-29 22:02, Dianne Skoll via linux wrote:
On Sun, 29 Jun 2025 21:44:40 -0400
Dianne Skoll <dianne [ at ] skoll [ dot ] ca> wrote:

Could the sort be using a field other than the filename, such as
sorting by modification time?  Most file managers let you sort by
name, or by size, or by modification time, or whatever.

I see Eric already addressed that, so ok.

I can reproduce the problem in Thunar... apparently, Thunar sorts
as in "sort -n" which is just completely broken.

https://bugzilla.xfce.org/show_bug.cgi?id=5359

It considers 200410PeterFrohn95thBirthday02withFamily to come before
19460904PeterFrohnwedding01 because the number 200,410 is less than the
number 19,460,904

(In my tests, it doesn't even behave exactly like "sort -n"... Thunar seems
to sort numerically if filenames contain any digits, which is even worse.)

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