Added KPH sorting
This commit is contained in:
parent
a2089efa02
commit
39d618e0b8
1 changed files with 5 additions and 0 deletions
|
|
@ -25,6 +25,11 @@ const sortOptions = [
|
|||
label: "Name ↑",
|
||||
comparator: (a, b) => a.character_name.localeCompare(b.character_name)
|
||||
},
|
||||
{
|
||||
value: "kph",
|
||||
label: "KPH ↓",
|
||||
comparator: (a, b) => b.kills_per_hour - a.kills_per_hour
|
||||
},
|
||||
{
|
||||
value: "kills",
|
||||
label: "Kills ↓",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue