Skip to main content
Table of Contents

TTMSFNCListBox.Sort Method

Sorts the list box items.

API unit family: TMSFNCListBox Declaring type: TTMSFNCListBox Inherited from: TTMSFNCCustomListBox

Syntax

FMX.TMSFNCListBox.hppPascalC++
procedure Sort(ACaseSensitive: Boolean = True; ASortingMode: TTMSFNCListBoxItemsSortMode = ismAscending); reintroduce; virtual;
HIDESBASE virtual void __fastcall Sort(bool ACaseSensitive = true, TTMSFNCListBoxItemsSortMode ASortingMode = (TTMSFNCListBoxItemsSortMode)(0x0));

Parameters

Name Description
ACaseSensitive When True, sorting uses case-sensitive comparison.
ASortingMode The sorting direction to apply.