1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 10:43:04 +08:00

use ordinal sorting on each method

This commit is contained in:
syscats 2024-02-01 14:03:59 +01:00
parent 7165511754
commit 0407b5d84a
No known key found for this signature in database
GPG Key ID: F694F7B84F2C6079

View File

@ -71,15 +71,15 @@ namespace osu.Game.Screens.Select.Carousel
break;
case SortMode.Title:
comparison = string.Compare(BeatmapSet.Metadata.Title, otherSet.BeatmapSet.Metadata.Title, StringComparison.OrdinalIgnoreCase);
comparison = string.Compare(BeatmapSet.Metadata.Title, otherSet.BeatmapSet.Metadata.Title, StringComparison.Ordinal);
break;
case SortMode.Author:
comparison = string.Compare(BeatmapSet.Metadata.Author.Username, otherSet.BeatmapSet.Metadata.Author.Username, StringComparison.OrdinalIgnoreCase);
comparison = string.Compare(BeatmapSet.Metadata.Author.Username, otherSet.BeatmapSet.Metadata.Author.Username, StringComparison.Ordinal);
break;
case SortMode.Source:
comparison = string.Compare(BeatmapSet.Metadata.Source, otherSet.BeatmapSet.Metadata.Source, StringComparison.OrdinalIgnoreCase);
comparison = string.Compare(BeatmapSet.Metadata.Source, otherSet.BeatmapSet.Metadata.Source, StringComparison.Ordinal);
break;
case SortMode.DateAdded: