The FieldSortCondition object represents a sort condition based on a specified field in a query. To create an object, use the Field::CreateSortCondition method. After setting the sort condition, it must be added to the Query::FieldSortConditions collection.