1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 09:32:29 +01:00

Fix #24509: Use std::sort instead of std::stable_sort (#24664)

This commit is contained in:
Matt
2025-06-23 19:46:31 +03:00
committed by GitHub
parent d130e0dcc8
commit d8964c5641

View File

@@ -2235,7 +2235,7 @@ namespace OpenRCT2::Ui::Windows
}
// Sort the rides alphabetically
std::stable_sort(_rideableRides.begin(), _rideableRides.end(), [](const RideId& a, const RideId& b) {
std::sort(_rideableRides.begin(), _rideableRides.end(), [](const RideId& a, const RideId& b) {
return String::compare(GetRideString(a), GetRideString(b), false) < 0;
});