Click or drag to resize
MergeX.Sort<T> Method (T[], Comparer<T>)
Rearranges the array in ascending order, using the provided order.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static void Sort<T>(
	T[] a,
	Comparer<T> comparator
)

Parameters

a
Type:T[]
the array to be sorted
comparator
Type: System.Collections.Generic.Comparer<T>
the user comparator

Type Parameters

T
See Also