Sorting anagrams of  string in a string array