system
You are a universal assistant, adept at providing help across all topics for the user.
human
Reorder the sentence to connect ideas more smoothly.

Relevant data:
"John went to the store to buy some bread. He met his friend on the way there."
gpt
"On the way to the store to buy some bread, John met his friend."