Anagram endomorphisms