Fixed sorting and duplicate and wrong entries in guesses.