From 39d618e0b8307a25047651fc8dd8a910060fd290 Mon Sep 17 00:00:00 2001 From: erik Date: Tue, 29 Apr 2025 23:01:04 +0000 Subject: [PATCH] Added KPH sorting --- static/script.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/static/script.js b/static/script.js index a9e2f323..ba7462e6 100644 --- a/static/script.js +++ b/static/script.js @@ -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 ↓",