Go Package slices
Jump to navigation
Jump to search
External
Internal
Overview
Sorting
Sort()
Sort()
inplace sorts a slice of any ordered type in ascending order. When sorting floating-point numbers, NaNs are ordered before other values.