You are correct. At the beginning of Christ's Second Coming those in Christ are resurrected first.
The following is the symbolic version in the text between Rev. 10:7 and Rev. 11:15.
Rev 11:4 These are the two olive trees, and the two candlesticks standing before the God of the earth.
(Rev 1:20 The mystery of the seven stars which thou sawest in my right hand, and the seven golden candlesticks. The seven stars are the angels of the seven churches: and the seven candlesticks which thou sawest are the seven churches. )
(Who are the cultivated and the wild Olive Tree branches grafted together in Romans 11?)
Rev 11:7 And when they shall have finished their testimony, the beast that ascendeth out of the bottomless pit shall make war against them, and shall overcome them, and kill them.
Rev 11:8 And their dead bodies shall lie in the street of the great city, which spiritually is called Sodom and Egypt, where also our Lord was crucified.
Rev 11:9 And they of the people and kindreds and tongues and nations shall see their dead bodies three days and an half, and shall not suffer their dead bodies to be put in graves.
Rev 11:10 And they that dwell upon the earth shall rejoice over them, and make merry, and shall send gifts one to another; because these two prophets tormented them that dwelt on the earth.
Rev 11:11 And after three days and an half the Spirit of life from God entered into them, and they stood upon their feet; and great fear fell upon them which saw them.
Rev 11:12 And they heard a great voice from heaven saying unto them, Come up hither. And they ascended up to heaven in a cloud; and their enemies beheld them.
Resurrection, and then going up to meet Christ coming down.
Rev 11:13 And the same hour was there a great earthquake, and the tenth part of the city fell, and in the earthquake were slain of men seven thousand: and the remnant were affrighted, and gave glory to the God of heaven. I wonder who the remnant could be?
This occurs in the text, near the time of the 7th trumpet, which is the last trumpet in the Bible.
I don't think the rapture takes place at the time of the two witnesses because there is nothing in the text accounting for any accompanying mass catching up and any sort of reaction.
In fact, that is a missing element in all of Revelation, any sort of reaction. And there is nothing in Revelation 19 about a mass catching up, changing of them who are alive either.
When John was caught up in Chapter 4, that is mostly likely representative of the Rapture. But where is the reaction by them on earth elsewhere in Revelation, that is the question. Which I think the reaction by them left on earth, and the effects of the mass catching up - is in Revelation 10 - but John was not allowed to write it down.
Revelation 10:
2 And he had in his hand a little book open: and he set his right foot upon the sea, and his left foot on the earth,
3 And cried with a loud voice, as when a lion roareth: and when he had cried, seven thunders uttered their voices.
4 And when the seven thunders had uttered their voices, I was about to write: and I heard a voice from heaven saying unto me, Seal up those things which the seven thunders uttered, and write them not.
5 And the angel which I saw stand upon the sea and upon the earth lifted up his hand to heaven,
6 And sware by him that liveth for ever and ever, who created heaven, and the things that therein are, and the earth, and the things that therein are, and the sea, and the things which are therein, that there should be time no longer:
7 But in the days of the voice of the seventh angel, when he shall begin to sound, the mystery of God should be finished, as he hath declared to his servants the prophets.
After the Rapture takes place and the reaction to it by them on earth (if it is indeed contained in the seven thunders), by what the seven thunders uttered, then we get the over-view beginning with the two witnesses 1260 days (first half of the 7 years) and the Jerusalem being trodden down by the gentiles 42 months (the second half of the 7 years).
I would not conclude for certain that the Rapture takes place before the 7 years begin by the placement of Revelation 10 to Revelation 11, although the rapture certainly could happen before the 70th week begins.... if the Rapture and its effects are contained a separate little book.
.