In John 6:39-54 Jesus is quoted 4 times regarding the saints "at the last day." This testimony corresponds with His teaching in Matthew 24, Mark 13, and Luke 21 about the times of the end and the sequence of events.
These events as well as their ordering are spoken of in Daniel chapters 9-12, where Jesus pointed us all to look. Daniel is told the dead will rise, some to joy and others to everlasting contempt. Isaiah taught the very same in many of its chapters but Isaiah 26: 19-21 is a very good start.
Jesus tells us that things will happen "at the last day" and Paul tells us in 1st Corinthians 15:20-24 and 51-54 that Jesus would raise us at his coming, and that we will all be changed at the "last trump." Paul goes further to make the point in 1st Thessalonians 4:13-18 and 5:1-11. Among other things we are told here, that those of us who are alive will not proceed, go before, those who have fallen asleep. We who are alive will see this all take place, our God does nothing in secret, and nothing before revealing it to his servants and prophets. Amos 3:7.
Further truth can be found in 2nd Thessalonians ch2, 2nd Timothy ch3 and 4, Hebrews ch4, 2nd Peter ch3 and many more.
You can find something about the last days, the salvation of the God's people and the judgment to come on the world in nearly every book of the bible. I hope you find the answers you seek. May God richly bless you in keeping with His promises.