Arcana Coelestia #47
47. That these words contain arcana concerning regeneration becomes additionally clear from the fact that verse 24 above spoke of the earth bringing forth 'living creatures, beasts, and wild animals of the earth', while in the verse that followed the order was different, namely that God made the wild animals of the earth first and then the beasts. Indeed a person does first produce things so to speak from himself, and continues to do so until he becomes celestial. And so regeneration begins with the external man and moves on to the internal. This is why there is a different order here, with external things coming first.
Genesis 1:6-8
6
And God said, Let there be a firmament in the midst of the waters, and let it divide the waters from the waters.
7
And God made the firmament, and divided the waters which were under the firmament from the waters which were above the firmament: and it was so.
8
And God called the firmament Heaven. And the evening and the morning were the second day.