diff --git a/game.js b/game.js index d05b098..4914911 100644 --- a/game.js +++ b/game.js @@ -34,7 +34,7 @@ class Game extends GameBasic { let s = Object.entries(scores).sort((a, b) => b[1] - a[1]); for (let x in s) { - let jk = jason.filter(y => y.ip == s[x][0]).map(y => y.ko).sort(); + let jk = jason.filter(y => y.ip == s[x][0]).map(y => y.ko).sort((a,b) => b - a); s[x].push(jk.join(', ')); }