add sort params to query string