So, the entropy of earth can get lowered by receiving energy from he sun in form of high energy radiation, and losing the same amount of energy on he night side via infrared. The decrease in entropy due to the radiating off in the infrared outweighs the gain in entropy from receiving sunlight. It therefore makes sense to say that the entropy on earth can be lowered or at least kept constant by the sun.
The fool hath said in his heart, There is a God. They are corrupt, they have done abominable works, there is none that doeth good.
Psalm 14, KJV revised edition