I could get real deep into this topic because every phase of the creation days go much further than how they appear when read in a literal sense.
I am only going to stick to the question and explanation in the title of the thread. Many say the bible and creation days make no sense at all, how is day and night, and morning/evening, all done before the sun and moon which we use for day and night and morning and evening created? It seems out of order, hence it must be false.
It's easier to understand it if you read them through an interlinear bible, because translaters not understanding the true message ends up omitting important parts in the translation. But I'll explain it from reading any bible.
Genesis is not just describing how Earth was created. Genesis is using physical/earthly terms to describe deeper knowledge as well, including light and darkness. Light and darkness in the spirtual and symbolic sense as well.
In Genesis 1:2-5 is describing the creation and seperation of light and darkness, day and night. Good and evil? maybe. In vs 6 through 8, there is a further division of the light and darkness and an expanse separating them, this expanse he calls heaven. So there are waters on the OTHER side of heaven. (what exactly does this heaven / expanse include?)
In vs 14 God creates luminaires to go in this expanse, which included the sun and the moon. He says they are created "To make a division between the day and the night" AND to serve as signs and for seasons and days and years.
In vs 16, the greater luminary will DOMINATE the day, and the lesser luminary will dominate the night.
So as you can see, you've had it mixed around. The light and the darkness was first, and the light dominates the day, and the sun was made to show us when the light was dominating, and the darkness/moon for when the darkness dominates, also for signs and for knowing times.
Another very interesting thing, I forgot if it is the book of Enoch or the secrets of Enoch, but if you compare the creation days with this understanding, you'll see they match up as well.