This is all I've found so far. This is not in Revelations but in Matthew:
Matthew 25:32
All the nations will be gathered before Him, and He will separate them one from another, as a shepherd divides his sheep from the goats.
Matthew 25:33
And He will set the sheep on His right hand, but the goats on the left.