including parity computation of sort operation