Created the loop to sort list of words in alphabetical order and display the list. Then it shows the menu again.