Sorting the word before checking for word jumble