Adding sort field.