Anagram unshaling