fixed sorted search issue
fully updated and working anagram search