Revelation is a little over my head, I'll readily admit that. But if you read Matthew 25, both sheep and goats are standing before Him when He renders their sentences to them.
In John 5, He said "the hour is coming when all in the graves will hear His voice and come forth...." here's what He said...
--"Wonder not at this, because there doth come an hour in which all those in the tombs shall hear his voice, and they shall come forth; those who did the good things to a rising again of life, and those who practised the evil things to a rising again of judgment."(vss 28,29 YLT)
So in both of these instances, both sheep and goats stand in final judgement before Christ.
Now, let's go to Revelation 20...
--"And I saw a great white throne, and Him who is sitting upon it, from whose face the earth and the heaven did flee away, and place was not found for them; and I saw the dead, small and great, standing before God, and scrolls were opened, and another scroll was opened, which is that of the life, and the dead were judged out of the things written in the scrolls -- according to their works;"(vss 11,12 YLT)
IMO, 'small and great' is another way of saying 'saved and lost' or 'sheep and goats'. There's one resureection...the general resurrection, and one time in which both saint receive their sentences. There's no 1,007 years betwixt rendered sentences...of course, imo...