add sorting (asc/desc) for fields