Task: Sentence Ordering
Input (English): Sentence1: He had to go to a homeless shelter. Sentence2: He needed to find a job. Sentence3: Barry had only one thousand dollars left in his bank account. Sentence4: He searched for 3 months. Sentence5: Eventually, his money ran out.
Output (English): 52134