If you didn't noticed, in Pokémon Scarlet and Violet, the game saves the order in which you get your badges (of any kind) and can display it.
Go to the map and zoom out completely to display the full region. You'll see numbers on the map where you got your badges. When moving the cursor on a number you'll see the corresponding badge.
This generalist Mastodon server welcomes enthusiasts of the Pokémon franchise, to talk about it or anything else. Join the federation!