According to the dogmas of the larger denominations, the creation story isn't literal chronology. And the question is nonsensical.
Here's why -- the question is takes the thought from verse 2 out of context.
Firstly, it's out of the context of any Christian or Jewish dogma. The accounts of creation are held by most Christians (the large denominations) to be largely symbolic of God's creative effort and personality. They're not a detailed, literal, chronological retelling of everything God did in precise sequence. A good indicator of this, even outside any particular tradition, is that simple fact that there are two creation stories in Genesis.
And those two creation stories do NOT agree. In the first story, humans are the last-made creature. In the second story (Genesis 2:4-25), man is first, then the garden, then animals, and woman last. Thus, the larger Christian denominations (and most Jews) are in agreement that Genesis is not a literal, chronological account of creation.
Secondly, it's taken out of the immediate literal context. There's more to Gen. 1:2 than wind sweeping over waters. And the full content of Gen. 1:2 is in the context of a larger thought that begins in the previous verse.
(1) In the beginning, when God created the heavens and the earth — (2) and the
earth was without form or shape, with darkness over the abyss and a
mighty wind sweeping over the waters—
So, even if I were defending a creationist viewpoint (I'm not), it's clear from the two verses combined that the earth and heavens already exist in a primitive, chaotic state. (What the author means by "earth" and "heavens" is debatable.)
Also notable, "the waters" (referring to the sea) in biblical language is almost always a metaphor for chaos. The "wind" in Genesis 1:2 is sweeping over the "primordial chaos." We can extrapolate then that first creation story illustrates the point that God creates (from nothing) by bringing order out of chaos. (That is, a chaos which He creates for the purpose of bringing about an ordered creation.)