Cards are now sorted properly.
Fixed a bug where the discard stack would not hold the expected amount of cards.