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