SORTORDER Property
PLBCMP GUI Only
The SORTORDER property indicates the default sort order of items in an object. The property uses the following format:
SORTORDER={value}
Note the following:
SORTORDER may be used in CREATE or GETPROP statements of a LISTVIEW object. or the CREATE, GETPROP, or SETPROP statements of a DATATABLE.
{value} is a decimal number, a Numeric Variable, an Expression, or a keyword as defined in PLBEQU.INC. The supported values and keywords are:
|
Value |
Keyword |
List items are ... |
|
1 |
$SORTASC |
sorted in ascending order. |
|
2 |
$SORTDSC |
sorted in descending order. |
|
3 |
$SORTNONE |
not sorted. (default) |
When the SORTORDER property is set to $SORTASC or $SORTDSC, the DATATABLE data is immediately sorted using column zero.
See Also: Object Properties, Object IO Instructions, Object Definitions
![]() |