That the earth's water is older than the sun makes sense to me.
2 The earth was without form and an empty waste, and darkness was upon the face of the very great deep. The Spirit of God was moving (hovering, brooding) over the face of the waters.
3 And God said, Let there be light; and there was light. (Genesis 1 AMP)
Yup, water before light.