diff --git a/main.py b/main.py index 5e6226a..100cf03 100644 --- a/main.py +++ b/main.py @@ -46,7 +46,7 @@ def add_players(players: list[Player]): def list_players(): with Session(engine) as session: - statement = select(Player) + statement = select(Player).order_by(Player.name) return session.exec(statement).fetchall()