add sort and filter in batch operations