Wiktionary
separate the sheep from the goats
vb. To divide the members of a group into those that are superior and those that are inferior.