diff --git a/lib/firebase/score_calculator.dart b/lib/firebase/score_calculator.dart index 70f97b7..2af7249 100644 --- a/lib/firebase/score_calculator.dart +++ b/lib/firebase/score_calculator.dart @@ -17,7 +17,7 @@ class ScoreCalculator { static Map computeScores(Map points) { final scores = points.entries .toList() - .sortedBy((entry) => entry.value) + .sortedBy((entry) => -entry.value) .map((entry) => _PlayerScore(entry.key)) .toList();