Anagram geodesics