Generate text that is semantically similar to this text: an operation that segregates items into groups according to a specified criterion .
an operation that groups items according to specific criteria