This is an experiment to prove my words: Take three balls of wood, different in volume, and tie each one by an elastic thread, and let the threads be equal in size and elasticity, then tie the other end of each thread to a ring, and put these rings in your index finger, and move your hand in a way that makes the balls revolve around your index finger, and go on moving your hand, then you will see the large ball start to get farther from your index finger, while the smaller will be the nearest to your finger, but the medium ball will be middle in its distance, and on this basis the planet will be nearer or farther from the sun.
Those balls of wool aren't attracted to the Sun by its mighty gravitational attraction.