Hand Notes When Hand is created with fromString method all cards are sorted. If hand is not valid it will throw an exception. The comparison of the hands is done according to the condition of the sorted cards.