sort method
override
Sort the Deck into the same descending order by Rank and Suit as
used for Hands. Note that this will make the deck appear to be in the
reverse ascending order when printed (see toString()
, below).
Implementation
@override
void sort() {
_cards.sort();
}