Struct NativeSortExtension.DefaultComparer<T>
A comparer that uses IComparable.CompareTo(). For primitive types, this is an ascending sort.
Namespace: Unity.Collections
Assembly: solution.dll
Syntax
public struct NativeSortExtension.DefaultComparer<T> where T : IComparable<T>
  Type Parameters
| Name | Description | 
|---|---|
| T | Source type of elements  | 
      
Methods
| Name | Description | 
|---|---|
| Compare(T, T) | Compares two values.  |