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