sortType
Type: Integer
The sortType property of the SortActor class specifies the sort type of the records or fields in a file.
The SortActor class constants for this property are summarized in the following table.
Constant | Value | Description |
---|---|---|
SortType_Binary | 3 | Sort based on bit values. |
SortType_Decimal | 2 | Sort as a JADE decimal (up to 23 characters of optional sign, decimal point, and digits). |
SortType_Integer | 1 | Sort as an integer. (Equivalent to numeric = true.) |
SortType_String | 0 (default) | Sort as a string, based on locale. (Equivalent to numeric = false.) |
If the value of this property is set to the default SortType_String (0) value, records or fields are compared alphanumerically.
From JADE release 6.0, the sortType property replaces the numeric property. If you set the numeric property to true, the sortType property is set to SortType_Integer (1).
The default values for the sortType property are listed in the following table.
Variable Records, Variable Fields |
Variable Records, Fixed Fields |
Fixed Records, Variable Fields |
Fixed Records, Fixed Fields |
---|---|---|---|
SortType_String | SortType_String | SortType_String | SortType_String |