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