Anagram primitives