From: James Edward Gray II Date: 2005-11-20T04:45:55+09:00 Subject: Re: [QUIZ] Euchre Hands (#55) On Nov 19, 2005, at 1:31 PM, Brian Schr�der wrote: >> Your script should output (to STDOUT) the Trump suit, followed by >> the cards in >> sorted order (highest card first): >> >> Diamonds >> Jh >> Kd >> Td >> Kc >> Ah > Hello James, Hello Brian. > I have to admit that I do not totally understand. That's probably just my terrible explination. Let's see if I can clear it up... > Why is in the example the King of Clubs higher than the Ace of hearts. Cards are sorted first buy suit, then by value. Trump is a better suit then the rest, but the others are equal and can come in any order. The suit order above is Diamonds (Trump), Clubs, then Hearts. Inside those suits, cards are sorted by face value. > And secondly I do not understand the paragraph about the red-black > sort order. Technically, this is another (correct) answer to the above: Diamonds Jh Kd Td Ah Kc The cards are still sorted in order of value. However, now we have put the red suits together. I think it's better to break them up, when we can. That's why my example shows Clubs between the two suits. Does that help? James Edward Gray II