Sort by Name numeric ordering

Discussion, questions and support.
Post Reply
Message
Author
screenhog
Posts: 3
Joined: 12.03.2008, 22:31

Sort by Name numeric ordering

#1 Post by screenhog » 12.03.2008, 22:58

Free Commander version 2007.10a Windows XP SP2

When I sort a list by name either ascending or descending the listing isn't in pure numerical order with numbers in the file name. For example:

Fig 1-1
Fig 1-11
Fig 1-12
Fig 1-13
Fig 1-2
Fig 1-20
Fig 1-3
Fig 1-30

Ideally it should sort as:

Fig 1-1
Fig 1-2
Fig 1-3
Fig 1-11
Fig 1-12
Fig 1-13
Fig 1-20
Fig 1-30

This has stopped me from completely adoting what is otherwise a far superior file manager than the standard windows one (which sorts numbers correctly).

User avatar
ralfso
Posts: 671
Joined: 31.10.2007, 17:21
Location: Gifhorn, Germany

#2 Post by ralfso » 13.03.2008, 06:16

Hello,

Extras >> Settings >> View >> Sorting

What you call "correct sorting" is mathematical sorting of filenames with numbers (in FC called natural sorting). This is a feature of explorer since Win XP.
A filename with numbers is not really a number; an "correct" sorting is alphabetically. But you're right that its easier with "narural sorting".
Regards
Ralf

Win10 (64-bit), Intel i7-2600 (3,4 GHz), 8 GB Ram, 2x2000 GB HD, NVIDIA GeForce 545

screenhog
Posts: 3
Joined: 12.03.2008, 22:31

#3 Post by screenhog » 13.03.2008, 22:33

ralfso wrote:Hello,

Extras >> Settings >> View >> Sorting

What you call "correct sorting" is mathematical sorting of filenames with numbers (in FC called natural sorting). This is a feature of explorer since Win XP.
A filename with numbers is not really a number; an "correct" sorting is alphabetically. But you're right that its easier with "narural sorting".
Thanks ralfso, couldn't find anything in the help or forums. Guess it isn't a bug or issue :) Now I have no reason to use the native Xp file manager

User avatar
Dreamer
Site Admin
Posts: 3202
Joined: 19.08.2007, 21:40
Location: Slovakia

#4 Post by Dreamer » 13.03.2008, 23:53

Moved to General Discussion.

raffamaiden
Posts: 6
Joined: 05.08.2012, 16:23

Re: Sort by Name numeric ordering

#5 Post by raffamaiden » 06.11.2014, 00:03

In windows 8, you need first to do this

1) windows key + R (will open the "run dialog")
2) gpedit.msc
3) In the left pane, User Configuration -> Administrative Templates -> Windows Components -> Windows Explorer (Windows 7) or File Explorer (Windows 8)
4) in the right pane, double lick on "turn off numerical sorting in file explorer"
5) click on "disabled"
6) ok

Timon
Posts: 651
Joined: 13.09.2012, 06:51

Re: Sort by Name numeric ordering

#6 Post by Timon » 06.11.2014, 05:36

See no problems in FC XE 674 (but it was in program for long time). So you should upgrade to XE version.
Ideally it should sort as:

Fig 1-1
Fig 1-2
Fig 1-3
Fig 1-11
Fig 1-12
Fig 1-13
Fig 1-20
Fig 1-30
Tools - Settings... - View - File/folder list - Tab Sorting - from drop down list select "Natural sorting (as Explorer)"

You'll see that all items are sorted as you wished.

User avatar
ralfso
Posts: 671
Joined: 31.10.2007, 17:21
Location: Gifhorn, Germany

Re: Sort by Name numeric ordering

#7 Post by ralfso » 06.11.2014, 19:55

The date of this topic is from 2008!
Regards
Ralf

Win10 (64-bit), Intel i7-2600 (3,4 GHz), 8 GB Ram, 2x2000 GB HD, NVIDIA GeForce 545

Timon
Posts: 651
Joined: 13.09.2012, 06:51

Re: Sort by Name numeric ordering

#8 Post by Timon » 07.11.2014, 06:21

The date of this topic is from 2008!
But may be @screenhog still waiting when his problem would be finally solved.

User avatar
ralfso
Posts: 671
Joined: 31.10.2007, 17:21
Location: Gifhorn, Germany

Re: Sort by Name numeric ordering

#9 Post by ralfso » 07.11.2014, 11:07

The problem is solved, he found the place where to switch the view to "natural sorting" in the old FC.

For the new FCXE it is at settings >>> View >>> File/Folder list >>> Sorting
Regards
Ralf

Win10 (64-bit), Intel i7-2600 (3,4 GHz), 8 GB Ram, 2x2000 GB HD, NVIDIA GeForce 545

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests