Anagram writhing