Question 1
Input: bat butterfly butterfly a bee
Step 1: a
Step 2: a bat bee
Rule: Arrange words by length (shortest first), then alphabetically for same length.
What is the final output?
Sorted by word length: a bat bee butterfly butterfly