add sort fields