Sorts the entries in the choice list.
The pre-existing HookChoices object is stored in a variable called choices that is visible only within a CHOICE_LIST hook. In the syntax section of this method, choices is a variable name that must be typed literally; it is not a placeholder for an arbitrary name or expression. This is the only way to access a HookChoices object.
VBScript
choices.Sort sortAscending