method sortByValue

void sortByValue(bool transition,bool ascending);

Argumente

Zurückgegebener Wert

This method sorts the contents of the select box in the order that was provided as a parameter. The items are sorted by the contents of the "value" attribute.
var selBox = scene.getBoxById("myListBox");
if (selBox)
{
    selBox.sortColumn = 1;
    selBox.sortByValue(true, false);
}