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:

  1. SORTORDER may be used in CREATE or GETPROP statements of a LISTVIEW object. or the CREATE, GETPROP, or SETPROP statements of a DATATABLE.

  2. {value} is a decimal number, a Numeric Variable, an Expression, or a keyword as defined in PLBEQU.INC. The supported values and keywords are:

  3.  

    Value

    Keyword

    List items are ...

    1

    $SORTASC

    sorted in ascending order.

    2

    $SORTDSC

    sorted in descending order.

    3

    $SORTNONE

    not sorted. (default)

  4.  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

 



PL/B Language Reference SORTHEADER Property SOURCEDOC Property