diff --git a/controllers/game.py b/controllers/game.py index b6900fc..1f64f3d 100644 --- a/controllers/game.py +++ b/controllers/game.py @@ -91,7 +91,7 @@ def post(self): # Incorrect number of players: if len(url_keys) != 4: - players = Player.query(Player.deleted == False).order(Player.name) + players = Player.query(Player.deleted == False).order(-Player.last_played, -Player.total_games) model = { 'players':players, 'error':'Please select exactly 4 players'