We do not need to compute hashcode as a sorted word is already the key.