system
Answer the question or perform the task.
human
Organize the following sentences to create a clear and meaningful sequence of events.

Relevant data:
'John got dressed and went out for a jog. He saw a dog on his way. He went to the park and then went back home.'
gpt
John got dressed and went out for a jog, seeing a dog on his way. He went to the park before returning back home.