Why `repr`? You should be able to take the hash of sorted right?