Anagram unwind