sort out

definition: make free from confusion or ambiguity
example:
speech part: verb
synonyms: clear
definition: arrange or order by classes or categories
example:
speech part: verb
synonyms: class
definition: punish in order to gain control or enforce obedience
example:
speech part: verb
synonyms: discipline

How sort out is being used?