Skip to content

Commit 1bade89

Browse files
Mark JessopMark Jessop
authored andcommitted
Fix leaderboard ordering
1 parent 6bac562 commit 1bade89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/tracker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4773,7 +4773,7 @@ function updateLeaderboardPane(r){
47734773
// create a sorted list
47744774
top = Object.keys(top).map(function(key){return [key, top[key]]});
47754775
top.sort(function(a, b) {
4776-
return a[1] < b[1]
4776+
return b[1] - a[1];
47774777
});
47784778

47794779
html += "<div><b>Total sondes recovered: " + recovered + "/" + total + "</b></div>";

0 commit comments

Comments
 (0)