Sorting
All functions · nseries package
Reverse
func (s Series) Reverse() Series
Reverse returns a copy of the series with the element order reversed.
Sort
func (s Series) Sort(direction ...int) Series
Sort returns a copy of the series sorted in ascending order. An optional direction parameter can be provided; a negative value sorts in descending order.