Bug fixes for sortHand and setPlayerHand methods.