Revelation is non-linear.
It repeats the same material over and over again....using different epithets.
The First Resurrection & The Second Resurrection are repeated numerous times.
An elementary example...
Revelation 14
First Resurrection; No Judgement
And I saw, and behold, the Lamb standing on Mount Zion! And with Him were a hundred and forty four thousands, with the name of His Father having been written on their foreheads. And I heard a sound out of Heaven, as a sound of many waters, and as a sound of great thunder. Also I heard a sound of harpers harping on their harps. And they sing as a new song before the throne, and before the four living creatures and the elders. And no one was able to learn the song except the hundred and forty four thousands, those having been redeemed from the earth. These are the ones who were not defiled with women, for they are virgins. These are the ones following the Lamb wherever He may go. These were redeemed from among men as a firstfruit to God and to the Lamb. And no guile was found in their mouth, for they are without blemish before the throne of God. (Rev 14.1 – 5)
Second Resurrection; Judgement
And I saw another angel flying in mid-heaven, having an everlasting gospel to proclaim to those dwelling on the earth, even to every nation and tribe and tongue and people, saying in a great voice, Fear God, and give glory to Him, because the hour of His judgment has come; also, Worship "Him who has made the heaven, and the earth, and the sea," and the springs of waters. Ex. 20:11 And another angel followed, saying, The great city, Babylon, has fallen, has fallen because of the wine of the anger of her fornication she made all nations to drink. And a third angel followed them, saying in a great voice, If anyone worships the beast and its image, and receives a mark on his forehead, or in his hand, he also shall drink of the wine of the anger of God having been mixed undiluted in the cup of His wrath. And he will be tormented by fire and brimstone before the holy angels and before the Lamb. And the smoke of their torment goes up forever and ever. And those worshiping the beast and its image have no rest night and day, even if anyone receives the mark of its name. (Rev 14.6 – 11)
First Resurrection; No Judgement
Here is the patience of the saints; here are the ones keeping the commands of God, and the faith of Jesus. And I heard a voice out of Heaven saying to me, Write: Blessed are the dead, the ones dying in the Lord from now. Yes, says the Spirit, they shall rest from their labors, and their works follow with them. And I saw; and behold, a white cloud and on the cloud One sitting like the Son of Man, having on His head a golden crown, and in His hand a sharp sickle. And another angel went forth out of the temple, crying in a great voice to the One sitting on the cloud, Send Your sickle and reap, because Your hour to reap came, because the harvest of the earth was dried. And the One sitting on the cloud thrust His sickle onto the earth, and the earth was reaped. (Rev 14.12 – 16)
Second Resurrection; Judgement
And another angel went forth out of the temple in Heaven, he also having a sharp sickle.
And another angel went forth from the altar having authority over the fire. And he spoke with a great cry to the one having the sharp sickle, saying, Send your sharp sickle and gather the clusters of the vine of the earth, because its grapes are ripened. And the angel thrust his sickle into the earth and gathered the vine of the earth, and threw into the winepress of the great anger of God. And the winepress was trodden outside the city, and blood went out of the winepress as far as the bridles of the horses, from a thousand six hundred stadia. (Rev 14.17 – 20)