Anagram sheepherding