Added method swapCards to be able to sort hand.