Description
Sorts the ListBox entries by lbValue. The entries are sorted in ascending order. Also note that this command will mix up the entries randomly if multiple entries have the same value. In Arma 3 use lbSortBy to avoid this problem.
Syntax
Syntax 1
lbSortByValue control
Parameters:
control: Control
Returns: Nothing
Syntax 2
since arma3 1.68
lbSortByValue idc
Parameters:
idc: Number
Returns: Nothing
Examples
Example 1
lbSortByValue _control;
Example 2
lbSortByValue 101;