Regarding the second law of thermodynamics ( correct me if I am wrong ), but as I understand it, in the absence of any energy input into a system, the system will move to a state of higher entropy - that is more disorder.
For example,(1) your house will start to fall apart unless you input energy to it in the form of work ( eg, you re-putty the windows before they fall out ).
Or (2) your car will come to a stop if you do not input energy in the form of gasoline.
Now in the case of examples 1 and 2, and this probably applies to all examples on Earth, the ultimate input of this energy is from the sun.
In the case of (1), the repairman eats vegetables or meat to obtain the energy, which ultimately come from plant photosynthesis ( ie, from the sun ).
In the case of(2), petroleum is formed by the breakdown of animal and plant material in the rocks. Thus the source again is the sun.
So it seams to me that the Earth has an input of energy from the sun, without which the Earth and all its systems would indeed slide into disorder. I think the current state of the Earth is only temporary because eventually the sun will cease to provide energy and the Earth will decline into disorder.