diff --git a/static/script.js b/static/script.js index e5c595e4..651a4375 100644 --- a/static/script.js +++ b/static/script.js @@ -1526,7 +1526,8 @@ function renderList() { p.character_name.toLowerCase().startsWith(currentFilter) ); // Sort filtered list - const sorted = filtered.slice().sort(currentSort.comparator); + filtered.sort(currentSort.comparator); + const sorted = filtered; render(sorted); }