Anagram synchronization