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