Question 1
Input: moon 34 star 78 comet 89
Step 1: Separate & sort words → comet moon star
Step 2: Separate & sort numbers → 34 78 89
Step 3: Alternate (word, number, word, number...) → comet 34 moon 78 star 89
What is the final arrangement?
Words sorted alphabetically, numbers sorted ascending, then placed alternately starting with a word: comet 34 moon 78 star 89