From 64d6edd9f56e0ecf85288d13d406fd0f198b09c7 Mon Sep 17 00:00:00 2001 From: julius Date: Wed, 21 May 2025 15:17:34 +0200 Subject: [PATCH] feat: order players alphabetically --- cutt/player.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cutt/player.py b/cutt/player.py index 6590e9a..11ceafa 100644 --- a/cutt/player.py +++ b/cutt/player.py @@ -188,6 +188,7 @@ async def list_players( .join(PlayerTeamLink) .join(Team) .where(Team.id == team_id, P.disabled == False) + .order_by(P.display_name) ).all() if players: return [