Coded Four of a kind ranker