Write a method, ‘ordered_vowel_words(str)’ that takes a string of
lowercase words and returns a string with just the words containing
all their vowels (excluding “y”) in alphabetical order. Vowels may
be repeated (“afoot” is an ordered vowel word).
You will probably want a helper method, ‘ordered_vowel_word?(word)’
which returns true/false if a word’s vowels are ordered.
Surprisingly, it’s the helper function that was the challenge in this problem. The trick is to create an array of all the vowels in the alphabet (except “y”). To check if each word has its vowels in order, split the word into letters, and then use .include? to check if those letters are included in the vowel array.