List.Sort Method (System.Collections.Generic ...
https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.list-1.sort
Examples. The following example demonstrates the Sort(Int32, Int32, IComparer) method overload and the BinarySearch(Int32, Int32, T, IComparer) method overload.. The example defines an alternative comparer for strings named DinoCompare, which implements the IComparer (IComparer(Of String) in Visual Basic, IComparer in Visual C++) generic interface.
DA: 86 PA: 57 MOZ Rank: 60