Classify (verb): To put things into groups based on how they are the same.
For example, when you clean up your toys, you can classify them by putting all the cars together and all the dolls together.