Wrong numerical sorting?

Here you can report bugs found in Far Manager.
Post Reply
Hanx0r
Posts: 8
Joined: Mon 13 May, 2019 11:37
Has thanked: 3 times

Wrong numerical sorting?

Post by Hanx0r »

Build 3.0 5300, x86

Here's my folder contents - 6 folders.

200106 Folder 1
200400 Folder 2
200500 Folder 3
201203 Folder 4
201304 Folder 5
201308 Folder 6

Notice the 00 in 2004 and 2005 lines? If I remove these zeroes, here's my "sorted" list:

2004 Folder 2
2005 Folder 3
200106 Folder 1
201203 Folder 4
201304 Folder 5
201308 Folder 6

Any idea why would it sort so? Is it trying to sort "numerically", treating the first member of the folder name as a number? If so - how would I switch it off, if possible?
Shmuel
Posts: 6836
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 41 times
Been thanked: 530 times

Wrong numerical sorting?

Post by Shmuel »

F9 -> Options -> System settings
[ ] Treat digits as numbers
User avatar
HaRT
Moderator
Posts: 10863
Joined: Tue 30 Aug, 2005 17:21
Has thanked: 221 times
Been thanked: 358 times

Wrong numerical sorting?

Post by HaRT »

In “System settings”, is “Treat digits as numbers” checked? If yes, try unchecking it.
Фар есть инструмент, а не нянька. © 2009 DrKnS
Hanx0r
Posts: 8
Joined: Mon 13 May, 2019 11:37
Has thanked: 3 times

Wrong numerical sorting?

Post by Hanx0r »

Halleluiah! Works as Intended. Thank you, saviours. I was sure this was a feature, not a bug.

Far is pretty much the first piece of soft I end up instlling on new machines :)
Post Reply

Return to “Bug Reports”