Request to implement natural sorting for lists

The Galaxy Lives On! Distant Worlds, the critically acclaimed 4X space strategy game is back with a brand new 64-bit engine, 3D graphics and a polished interface to begin an epic new Distant Worlds series with Distant Worlds 2. Distant Worlds 2 is a vast, pausable real-time 4X space strategy game. Experience the full depth and detail of turn-based strategy, but with the simplicity and ease of real-time, and on the scale of a massively-multiplayer online game.

Moderator: MOD_DW2

Post Reply
ChrisGb
Posts: 77
Joined: Thu Mar 21, 2024 8:10 pm
Location: Spain

Request to implement natural sorting for lists

Post by ChrisGb »

Please implement natural sorting without using 0 or 00 prefix.
Best example is fleet list. After 9th Fleet shall come 10th. (>natural sorting) and not 10th to 19th on top of 1st to 9th...this is not common sense and its annoying when having more fleets.
Alternatively add other sorting filter - (natural) numerical

Image
Conquest: Terran Frontier Wars - Return to Terra (Terran Campaign DLC) Summer 2025
https://www.matrixgames.com/forums/view ... 9&t=403676
Image
MyQuam
Posts: 2
Joined: Tue Mar 25, 2025 4:00 am

Re: Request to implement natural sorting for lists

Post by MyQuam »

Yes, and also to save the sorting preference chosen by the user so that it automatically re-applies after loading a save.
DougMorel
Posts: 2
Joined: Thu Mar 31, 2005 11:04 pm

Re: Request to implement natural sorting for lists

Post by DougMorel »

In the meantime, rename fleets 1 through 9 by adding a space before the number, ie., change "1st Fleet" to " 1st Fleet". They will then sort ahead of fleets numbered 10 and upwards.
Colwolf77
Posts: 53
Joined: Fri Apr 24, 2015 12:01 pm

Re: Request to implement natural sorting for lists

Post by Colwolf77 »

DougMorel wrote: Tue Mar 25, 2025 5:47 am In the meantime, rename fleets 1 through 9 by adding a space before the number, ie., change "1st Fleet" to " 1st Fleet". They will then sort ahead of fleets numbered 10 and upwards.
I'm not sure what you mean by this. Do you mean the space makes the game not increment the fleet number for the next created fleet?
DougMorel
Posts: 2
Joined: Thu Mar 31, 2005 11:04 pm

Re: Request to implement natural sorting for lists

Post by DougMorel »

No, adding the space before the fleet number is purely to get the fleets to sort in the correct sequence when you want them sorted by Name. Currently the game sorts the fleets as '1st ..', '10th ..', '11th ..', '12th ..', '2nd ..', '20th ..','3rd ..', etc., as it's sorting on the first alphanumeric character in the name, followed by the second character and so forth. Adding the single space to fleets named '1st' through '9th' results in ' 1st ..', ' 2nd ..', ' 3rd ..', '10th ..', '11th ..', '12th ..', etc. This is only renaming a fleet.. it doesn't affect anything else in the game including creation of new fleets and their numbering sequences.
ChrisGb
Posts: 77
Joined: Thu Mar 21, 2024 8:10 pm
Location: Spain

Re: Request to implement natural sorting for lists

Post by ChrisGb »

DougMorel wrote: Tue Mar 25, 2025 5:22 pm Currently the game sorts the fleets as '1st ..', '10th ..', '11th ..', '12th ..', '2nd ..', '20th ..','3rd ..', etc., as it's sorting on the first alphanumeric character in the name, followed by the second character and so forth.
...and its really absurd, it gives me eyeball cancer every time :mrgreen:
MyQuam wrote: Tue Mar 25, 2025 4:39 am Yes, and also to save the sorting preference chosen by the user so that it automatically re-applies after loading a save.
this!!! good one...
Conquest: Terran Frontier Wars - Return to Terra (Terran Campaign DLC) Summer 2025
https://www.matrixgames.com/forums/view ... 9&t=403676
Image
AKicebear
Posts: 664
Joined: Sat Jul 26, 2014 2:11 pm

Re: Request to implement natural sorting for lists

Post by AKicebear »

Or, make it "Fleet 00", "Fleet 01", etc
Post Reply

Return to “Distant Worlds 2”