I am Slightly confused about the word order for に And で
Are both of these examples correct and the only difference the emphasis?
私は夏に公園で先生に会います: I am meeting my teacher at the park in the summer
夏に公園で私は先生に会います:In the summer at the park I am meeting my teacher
Any help would be appreciated thanks.