Came up with a better anagram sort method in response to looking at Yelp questions