fix: sort /teams/{id}/evolutions by current_tier desc, current_value desc (#116) #120

Merged
cal merged 1 commits from ai/paper-dynasty-database-116 into next-release 2026-03-19 18:24:49 +00:00

1 Commits

Author SHA1 Message Date
Cal Corum
0953a45b9f fix: sort /teams/{id}/evolutions by current_tier desc, current_value desc (#116)
Closes #116

The endpoint was returning results in player_id insertion order, causing
/evo status in Discord to show a wall of T0/value-0 cards before any
progressed players. Sort by current_tier DESC, current_value DESC so
the most-evolved cards always appear first.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-19 13:24:14 -05:00