Keeping Cards in Numerical Order

I have a deck of cards and each card is numbered using Property Name and Property Value (Example for one card is shown below)

Property Name = Card
Property Value = 1

When I discard a card I would like that card to go back into its numerical order instead of on top of the deck. How do I do this?

Thanks

I figured it out. When editing the Deck, in the space marked “When selecting, sort cards by…” you enter the Property name that you created in the Marker Trait. Trial and error is sometimes the best way to learn how to do something.