'Declaration Public Property Comparer As IComparer(Of Task)
public IComparer<Task> Comparer {get; set;}
Setting the Comparer property overrides any previously defined sort criteria, i.e., any fields previously added to the collection are maintained, but are not used as long as the Comparer property is set.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2