The dead in Christ rise first for the resurrection/rapture event, 1 Thessalonians 4:14-18.
Revelation 20:4-5 is not part of the resurrection/rapture event. But after Jesus has returned.
All the dead in Christ rise at the resurrection event and it happens at the second coming.
There are only two mass resurrections, the first for the saved, and one for the unsaved.
Dan 12:2 And many of them that sleep in the dust of the earth shall awake,
some to everlasting life, and
some to shame and everlasting contempt.
First group resurrection: "to everlasting life"
Second group resurrection: "to shame and everlasting contempt"
Joh 5:29 And shall come forth; they that have done good,
unto the resurrection of life ; and they that have done evil,
unto the resurrection of damnation
First group resurrection: "resurrection of life"
Second group resurrection: "the resurrection of damnation"
Acts 24:15 And have hope toward God, which they themselves also allow, that there shall be
a resurrection of the dead, both of the just and unjust.
First group resurrection: "the just"
Second group resurrection: the "unjust"
Take note that in every passage where the resurrection of the saved and unsaved are mentioned that the saved or just is
always mentioned first. That's important because it is they that resurrect first! Scripture never deviates from this order. Revelation, John, Daniel and Acts all say the saved first, then the unsaved in that exact order.
Luk 14:12 Then said he also to him that bade him, When thou makest a dinner or a supper, call not thy friends, nor thy brethren, neither thy kinsmen, nor thy rich neighbours; lest they also bid thee again, and a recompence be made thee.
Luk 14:13 But when thou makest a feast, call the poor, the maimed, the lame, the blind:
Luk 14:14 And thou shalt be blessed; for they cannot recompense thee: for thou shalt be recompensed at
the resurrection of the just.