mickelson / attract

A graphical front-end for command line emulators that hides the underlying operating system and is intended to be controlled with a joystick or gamepad.
http://attractmode.org
GNU General Public License v3.0
397 stars 115 forks source link

[Feature Request] An option for absolute value sorting #629

Open randombyt opened 4 years ago

randombyt commented 4 years ago

Currently items with three letters like "XZR" are listed at start of "X" before "Xevious" which should come first. I think three lettered titles are treated as special case like abbreviations. Can we please get an option for ignoring all special cases and listing items on absolute value?

Perhaps an option in configuration > general or in attract.cfg like:

filter               All
    sort_by              Title
    sort_value           Absolute
mickelson commented 4 years ago

This is because capitalized characters are always sorted before lowercase (so in the example, Z<e resulting in ZXR going first). The fix would be to ignore case when sorting.

Does this need to be an option though? I think this is a bug and it should be fixed so Xevious always goes before XZR when sorting alphabetically.

Can you think of any scenario where someone would want the option to keep the current behaviour? (I can’t)

On Jun 20, 2020, at 6:10 AM, randombyt notifications@github.com wrote:

 Currently items with three letters like "XZR" are listed at start of "X" before "Xevious" which should come first. I think three lettered titles are treated as special case like abbreviations. Can we please get an option for ignoring all special cases and listing items on absolute value?

Perhaps an option in configuration > general or in attract.cfg like:

filter All sort_by Title sort_value Absolute — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

randombyt commented 4 years ago

My mistake, I thought current behavior followed windows new sorting behavior that's why I requested for absolute sorting. A bugfix would be great, thanks.