internal static void SortImpl <T>(T[] array, int size, Comparison <T> comparison) { int originalLength = array.Length; if (size < originalLength) { Splice(array, size, array.Length - size); } Sort(array, Delegate.GetJsFunction(comparison)); }
internal static void SortImpl <T>(T[] array, int size, Comparison <T> comparison) { int originalLength = array.Length; if (size < originalLength) { Splice(array, size, array.Length - size); } Sort(array, Delegate.GetJsFunction(comparison)); }