Arma 3 Scripting

Command in GUI Control - ListNBox

lnbSort

Also available as Markdown and JSON, or read the original wiki page.

Description

Sorts given multicolumn listbox by lnbText in given column in ascending or descending order.

Important

This command does not support UNICODE, use lnbSortBy if it is needed instead

Syntax

Syntax 1

lnbSort [idc, column, reversed]

Parameters:

Returns: Nothing

Syntax 2

control lnbSort [column, reversed]

Parameters:

Returns: Nothing

Examples

Example 1

lnbSort [1800, 1, false];

Example 2

_ctl lnbSort [1, true];

See also

lbSortBy · lnbSortBy · lbSort · lnbSortByValue · tvSortByValue · lbSortByValue · tvSort