Sort by descending rating and not rank in groups edition popup

This commit is contained in:
Claude Brisson
2024-01-31 05:46:16 +01:00
parent 9acd78254a
commit 7b3d215a0a

View File

@@ -63,7 +63,7 @@ class PairgothTool {
pairables.groupBy { pairable -> pairable.getDouble("MMS")?.toLong() }
.mapValues { entry ->
entry.value.sortedByDescending { pairable ->
pairable.getInt("rank")
pairable.getInt("rating")
}
}