Documentation ¶
Overview ¶
Package sort provides sorting in place slice elements
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func By ¶ added in v0.0.6
func By[T any, o constraints.Ordered, TS ~[]T](elements TS, by func(T) o) TS
By sorts elements in place by converting them to Ordered values and applying the operator <
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.