Task: Sentence Ordering
Input (English): Sentence1: He was surprised but thankful. Sentence2: Jim made spinach cookies. Sentence3: He sold them for five dollars each. Sentence4: No one bought any. Sentence5: However, at the last minute a man wanted twenty.
Output (English): 51234