sort anagram string array