Sorts the elements in the entire AppointmentList using the specified comparer.

Namespace:  C1.C1Schedule
Assembly:  C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)

Syntax

C#
public void Sort(
	IComparer<Appointment> comparer
)
Visual Basic
Public Sub Sort ( _
	comparer As IComparer(Of Appointment) _
)

Parameters

comparer
Type: System.Collections.Generic..::..IComparer<(Of <(<'Appointment>)>)>
The IComparer{Appointment} implementation to use when comparing elements, or a null reference (Nothing in Visual Basic) to use the default comparer.

See Also