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