Task: Sentence Ordering
Input (English): Sentence1: Tim's history class was first thing in the morning. Sentence2: When he woke up, class was almost over. Sentence3: He arrived to class very tired. Sentence4: He started to nod off. Sentence5: Tim failed the final exam.
Output (English): 14235