Rename checkAnagram to checkAnagram (sort)