Sort by descending rating and not rank in groups edition popup
This commit is contained in:
@@ -63,7 +63,7 @@ class PairgothTool {
|
|||||||
pairables.groupBy { pairable -> pairable.getDouble("MMS")?.toLong() }
|
pairables.groupBy { pairable -> pairable.getDouble("MMS")?.toLong() }
|
||||||
.mapValues { entry ->
|
.mapValues { entry ->
|
||||||
entry.value.sortedByDescending { pairable ->
|
entry.value.sortedByDescending { pairable ->
|
||||||
pairable.getInt("rank")
|
pairable.getInt("rating")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user