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.
Heaven and Hell #20
20. Heaven Is Divided into Two Kingdoms
Since there are infinite varieties in heaven - since no community and in fact no individual is just like any other 1 - heaven is therefore divided overall, more specifically, and in detail. Overall, it is divided into two kingdoms, more specifically into three heavens, and in detail into countless communities. We will now discuss the details. They are called "kingdoms" because heaven is called "the kingdom of God."
Footnotes:
1. [Swedenborg's footnote] There is an infinite variety, and nothing can ever be identical to anything else: 7236, 9002. There is an infinite variety in heaven as well: 684, 690, 3744, 5598, 7236. The varieties in heaven are varieties of what is good: 3744, 4005, 7236, 7833, 7836, 9002. By this means all the communities in heaven and every angel in a community are distinguishable from each other: 690, 3241, 3519, 3804, 3986, 4067, 4149, 4263, 7236, 7833, 7836. Still, they all form one entity by means of love from the Lord: 457, 3986.