sortByValue

Specifies that the sorting specified by sortType should be based on the values in the list rather than the labels. Default is false (i.e., sort by label, not by value).

Type

Boolean

true: sort items by value
false: sort items by label

Example

ComboBox1.sortByValue = true;

Either syntax below can be used in component script:

sortByValue            // unqualified
ComboBox1.sortByValue  // qualified

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