categorizing
To categorize is to group things together in a way that makes them easier to understand. Categorizing can be a useful way of organizing your ideas.
The teacher tried to categorize the students by their MyersBriggs type.
The teacher tried to categorize the articles by their topic.