[GH-ISSUE #2260] [APP BUG]: Sorting order broken when game title is in ALL CAPS #770

Closed
opened 2026-02-27 21:08:03 +03:00 by kerem · 5 comments
Owner

Originally created by @MuntKaicho on GitHub (Jan 28, 2025).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/2260

Checklist

  • I have searched for a similar issue in this repository and did not find one.
  • I am using an official build obtained from releases or updated one of those builds using its in-app updater.

Describe the Bug

It looks like there's an issue when sorting by title name and the game title is in all caps. Check attached screenshot for ordering issue with Gravity Rush 2

Image

Reproduction Steps

Have Gravity Rush Remastered and Gravity Rush 2 in your library. Possibly same issue with other franchises where only one of the entries has an all caps title.

Expected Behavior

No response

Specify OS Version

Windows 11

Originally created by @MuntKaicho on GitHub (Jan 28, 2025). Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/2260 ### Checklist - [x] I have searched for a similar issue in this repository and did not find one. - [x] I am using an official build obtained from [releases](https://github.com/shadps4-emu/shadPS4/releases) or updated one of those builds using its in-app updater. ### Describe the Bug It looks like there's an issue when sorting by title name and the game title is in all caps. Check attached screenshot for ordering issue with Gravity Rush 2 ![Image](https://github.com/user-attachments/assets/42f91024-ffce-4a4f-9bb7-4d184656b020) ### Reproduction Steps Have Gravity Rush Remastered and Gravity Rush 2 in your library. Possibly same issue with other franchises where only one of the entries has an all caps title. ### Expected Behavior _No response_ ### Specify OS Version Windows 11
kerem closed this issue 2026-02-27 21:08:04 +03:00
Author
Owner

@zaid-ismail031 commented on GitHub (Jan 29, 2025):

I'll take care of this. It looks like a minor issue with case-sensitive string comparisons in the CompareStringsAscending and CompareStringsDescending functions of the GameListFrame class.

<!-- gh-comment-id:2622963278 --> @zaid-ismail031 commented on GitHub (Jan 29, 2025): I'll take care of this. It looks like a minor issue with case-sensitive string comparisons in the `CompareStringsAscending` and `CompareStringsDescending` functions of the `GameListFrame` class.
Author
Owner

@DanielSvoboda commented on GitHub (Feb 3, 2025):

This has been fixed for list view, but grid view still needs adjustments on startup.
If you use the refresh button in grid view it is fixed

<!-- gh-comment-id:2632372554 --> @DanielSvoboda commented on GitHub (Feb 3, 2025): This has been fixed for `list view`, but `grid view` still needs adjustments on startup. If you use the `refresh` button in `grid view` it is `fixed`
Author
Owner

@zaid-ismail031 commented on GitHub (Feb 4, 2025):

Yes, I see. The exact same case-sensitive string string comparison bug is also present in the CompareStrings function in GameInfoClass, which results in QVector<GameInfo> m_games being incorrectly sorted after it is initially populated

<!-- gh-comment-id:2632596585 --> @zaid-ismail031 commented on GitHub (Feb 4, 2025): Yes, I see. The exact same case-sensitive string string comparison bug is also present in the `CompareStrings` function in `GameInfoClass`, which results in `QVector<GameInfo> m_games` being incorrectly sorted after it is initially populated
Author
Owner

@DanielSvoboda commented on GitHub (Feb 4, 2025):

That was exactly it @zaid-ismail031 , I opened a https://github.com/shadps4-emu/shadPS4/pull/2341 to fix it, thanks

<!-- gh-comment-id:2632715557 --> @DanielSvoboda commented on GitHub (Feb 4, 2025): That was exactly it @zaid-ismail031 , I opened a https://github.com/shadps4-emu/shadPS4/pull/2341 to fix it, thanks
Author
Owner

@Hermiten commented on GitHub (Feb 4, 2025):

Fixed in #2341

<!-- gh-comment-id:2633272203 --> @Hermiten commented on GitHub (Feb 4, 2025): Fixed in #2341
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#770
No description provided.