add sort operation