Of co
Of course it does. Matthew includes five discourses, or sermons. The gospel is oriented around these discourses. Each discourse points from the "outside in," so to speak. IOW, the first and last discourses point to the second and fourth discourses, which, in turn, point to the third discourse, at the center of the gospel. This discourse centers around the "sheep and goats" parable. The crux of the gospel is that we make distinctions pertaining to sheep and goats, keeping the goats and excluding the sheep. But the parable tells us to keep them all together. IOW, they both comprise the church, and we are to include them both. Any "sorting out" is God's job.
That's not the thrust of the story.
Your exegesis is insufficient.