Also, my understanding is that the 2nd Law applies to closed systems that do not receive energy from an outside source, such as a gigantic unshielded fusion reactor 93 million miles away.
additionally, factor in the organizing effects of the following cyclic modulations of that energy input:
1. elliptical orbit, with aphelion and perihelion
2. diurnal cycle due to axial revolution
3. solar activity cycles
4. seasonal cycles due to axial tilt from perpendicualr to plane of ecliptic
of course, later on come other organizing natural phenomena (such as the tidal cycles caused by a masive moon whose orbit is not aligned with the solar ecliptic plane)
the 2nd Law of Thermodynamics simply does not fit the open system under discussion.