To arrange (people or things) into groups based on ways that they are alike.