forked from MapComplete/MapComplete
Fix various bugs
This commit is contained in:
parent
30f4be183e
commit
5284f198d8
26 changed files with 339 additions and 119 deletions
|
@ -93,7 +93,7 @@ export default class Histogram<T> extends VariableUiElement {
|
|||
keys.sort()
|
||||
break;
|
||||
case "name-rev":
|
||||
keys.sort().reverse()
|
||||
keys.sort().reverse(/*Copy of array, inplace reverse if fine*/)
|
||||
break;
|
||||
case "count":
|
||||
keys.sort((k0, k1) => counts.get(k0) - counts.get(k1))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue