1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 03:22:55 +08:00

Replace local sort with new utility method

This commit is contained in:
Bartłomiej Dach 2023-09-28 18:35:15 +02:00
parent 8215c4cb0e
commit c0728f0b2e
No known key found for this signature in database

View File

@ -84,7 +84,7 @@ namespace osu.Game.Overlays.Mods
{ {
modSettingsFlow.Clear(); modSettingsFlow.Clear();
foreach (var mod in SelectedMods.Value.OrderBy(mod => mod.Type).ThenBy(mod => mod.Acronym)) foreach (var mod in SelectedMods.Value.AsOrdered())
{ {
var settings = mod.CreateSettingsControls().ToList(); var settings = mod.CreateSettingsControls().ToList();