SortMode specifies the sorting method when a field has multiple values. You can sort the fields based on the maximum value, minimum value, or average value.
Usage notes
The default value used for sorting when the field contains multiple values is determined by the order of the field values. You can sort field values based on the ascending or descending order.
If you sort field values based on the ascending order, the default value used for sorting is SORT_MODE_MIN.
If you sort field values based on the descending order, the default value used for sorting is SORT_MODE_MAX.
Enumeration value list
SORT_MODE_MIN specifies to use the minimum field value for sorting.
SORT_MODE_MAX specifies to use the maximum field value for sorting.
SORT_MODE_AVG specifies to use the average field value for sorting.
enum SortMode {
SORT_MODE_MIN = 0;
SORT_MODE_MAX = 1;
SORT_MODE_AVG = 2;
}