Add sort fields (but it does not yet work)