Ranks five-card poker hands