mojira.dev
MCL-10135

Launcher does not sort profiles correctly

Basically, I have over like 50 profiles, one for each alpha, beta, and released versions of Minecraft, so I may do a YouTube series, titled 'The History of Minecraft".

What I expected to happen was...:
In settings, I have set the sorting to "by name".  I name each profile the same as the version said profile is using.  For example, if I'm using b1.8 (Beta 1.8) on a profile, I name the profile "Beta 1.8."  The order of my profiles should be:
Alpha
Beta
Classic
Indev
Infdev
Latest Snapshot
Latest Version
Minecraft
Pre-Classic

What actually happened was...:
They're completely out of order.  I want it to be organized so I can easily find which version is going to be next without having to search through all the files I have created.

Steps to Reproduce:
Create like, I don't know, 10-15 files, and try sorting them by name.  Doesn't matter the version, just make each profile something like "a, b, c, d" etc.  It'll be disorganized.

Comments 6

Please do not mark unreleased versions as affected.
You don't have access to them yet.

Okay, so I have access to 2.1.1462, and that's apparently unreleased. That, or this bug report just doesn't register it.

MCL-10094 found out the critical number is 10. If you have at least 11 profiles, it will not sort; if you have 10 or less then it's fine.

Could not reproduce this issue with 2.1.1338-dev .  However, one thing to note is that when Sort Profiles: By name is set, that it sorts the name explicitly character by character, and not logically in regards to numeric values. 

So, if you are using names with version numbers in them, "Release 1.10" would appear in the list before "Release 1.9.4" and "Release 1.8.9". 

Perhaps a setting could be added in addition to 'By name', and 'By last played' such as 'By version' that would look at the actual "lastVersionId' and sort it numerically as a version format (i.e. in terms of groupings of numbers separated by the periods).  

To handle cases where multiple entries with the same version ids are created (ex. custom versions), this could fall back to the "created" date.

May you provide a screenshot?

Fixed in latest beta build

migrated

(Unassigned)

Unconfirmed

Launcher, MinecraftLauncher, launcher, launcher-bug

Retrieved