Table of Contents

TTMSFNCGanttTasks.Sort Method

Sorts tasks by the specified task property.

API unit family: TMSFNCGanttClasses Declaring type: TTMSFNCGanttTasks

Syntax

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

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.