# Functions
Find uses binary search to find and return the smallest index i in [0, n) at which cmp(i) <= 0.
Float64s sorts a slice of float64s in increasing order.
Float64sAreSorted reports whether the slice x is sorted in increasing order, with not-a-number (NaN) values before any other values.
Ints sorts a slice of ints in increasing order.
IntsAreSorted reports whether the slice x is sorted in increasing order.
IsSorted reports whether data is sorted.
Reverse returns the reverse order for data.
Search uses binary search to find and return the smallest index i in [0, n) at which f(i) is true, assuming that on the range [0, n), f(i) == true implies f(i+1) == true.
SearchFloat64s searches for x in a sorted slice of float64s and returns the index as specified by [Search].
SearchInts searches for x in a sorted slice of ints and returns the index as specified by [Search].
SearchStrings searches for x in a sorted slice of strings and returns the index as specified by Search.
Slice sorts the slice x given the provided less function.
SliceIsSorted reports whether the slice x is sorted according to the provided less function.
SliceStable sorts the slice x using the provided less function, keeping equal elements in their original order.
Sort sorts data in ascending order as determined by the Less method.
Stable sorts data in ascending order as determined by the Less method, while keeping the original order of equal elements.
Strings sorts a slice of strings in increasing order.
StringsAreSorted reports whether the slice x is sorted in increasing order.
# Interfaces
An implementation of Interface can be sorted by the routines in this package.
# Type aliases
Float64Slice implements Interface for a []float64, sorting in increasing order, with not-a-number (NaN) values ordered before other values.
IntSlice attaches the methods of Interface to []int, sorting in increasing order.
StringSlice attaches the methods of Interface to []string, sorting in increasing order.