Added KPH sorting

This commit is contained in:
erik 2025-04-29 23:01:04 +00:00
parent a2089efa02
commit 39d618e0b8

View file

@ -25,6 +25,11 @@ const sortOptions = [
label: "Name ↑", label: "Name ↑",
comparator: (a, b) => a.character_name.localeCompare(b.character_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", value: "kills",
label: "Kills ↓", label: "Kills ↓",