system
This is a written exchange between a user and their knowledgeable assistant, tackling diverse topics
human
Edit the following sentence to improve its coherence by changing its order.
'I decided to go shopping for groceries after work because I needed to buy food for dinner.'
gpt
Because I needed to buy food for dinner, I decided to go shopping for groceries after work.