Mars in Orbit

As Mars and Earth orbit around the Sun they get closer and further apart. These 9 images of Mars were taken at different times and below each one is a map showing the orbits of the inner planets. However, the orbit maps are in the wrong order. Can you rearrange them them?

Hint: You may find the Electric Orrery useful.