Package sort provides primitives for sorting slices of A.
IsSorted reports whether data is sorted.
Less is a function to compare two As
Sort sorts data. It makes one call to data.Len to determine n, and O(n*log(n)) calls to data.Less and data.swap. The sort is not guaranteed to be stable.
An A is the element in the slice A we are sorting
template type Sort(A, Less)