Skip to main content
Table of Contents

TTMSFNCListBoxCopyItems.Sort Method

Sorts items alphabetically by text.

API unit family: TMSFNCListBox Declaring type: TTMSFNCListBoxCopyItems Inherited from: TTMSFNCListBoxItems

Syntax

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

Parameters

Name Description
ACaseSensitive When True, the sort is case-sensitive.
ASortingMode Sort direction — ascending or descending.