Do these two sentences from wikipedia have the same meaning?
She left Sydney on 1 January 1829 for London via Madras .
She left Sydney via Madras to London on 1 January 1829 .
yes