Instructions: In this task, you're given a short story of five sentences written in natural language. However, the order of the given story is not correct. Your job is to return the correct order for the given five sentences to create a coherent short story with the new order that has the correct flow. Generate your answer using the number of sentences in the correct order, such as '23415'.
Input: 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:
14235