Table of Contents

TTMSFNCGanttProject.Sort Method

Sorts project tasks by the specified task property.

API unit family: TMSFNCGanttClasses Declaring type: TTMSFNCGanttProject

Syntax

procedure Sort(AProperty: string = 'wbs'; ARecurse: Boolean = False; ACaseSensitive: Boolean = True; AAscending: Boolean = True); reintroduce;

Parameters

Name Description
AProperty Task property used for comparison.
ARecurse When True, sorts child task collections as well.
ACaseSensitive When True, string comparisons are case-sensitive.
AAscending When True, sorts in ascending order.