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: Consider Input: Sentence1: He started yelling all of a sudden. Sentence2: Tom asked him what the problem was. Sentence3: Tom was at the bus stop on a weekend. Sentence4: Tom and everyone else around him got a bit uncomfortable. Sentence5: Next to him was a tall gentleman.

Output: 35142

Input: Consider Input: Sentence1: John ended up having the most. Sentence2: John and Ed had a bet on who could get the most candy on Halloween. Sentence3: When they got back to the house they weighed their bags. Sentence4: They left John's house at the same time going in different directions. Sentence5: They had two hours to gather as much as they could.

Output: 51423

Input: Consider Input: Sentence1: Sandy sold Jim her old bed. Sentence2: Her friend Jim wanted her old bed. Sentence3: She also needed to get rid of her old bed. Sentence4: She needed to clean her room before the delivery men arrived. Sentence5: Sandy had purchased a new bed.
Output: 54321