Anagram primitive