sortType

Specifies the sorting for items displayed in a Check Box, Radio Button, or ComboBox component.

Type

Style Constant object

StyleConstant.SORT_ASC: Ascending order
StyleConstant.SORT_DESC: Descending order
StyleConstant.SORT_NONE: Original order

Example

ComboBox1.sortType = StyleConstant.SORT_DESC;

Either syntax below can be used in component script:

sortType            // unqualified
ComboBox1.sortType  // qualified

For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required.