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