Documentation ¶
Overview ¶
Package stablesort provides stable sorting of cloned slice elements
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Asc ¶ added in v0.0.11
func Asc[T constraints.Ordered, TS ~[]T](elements TS) TS
Asc makes clone of stable sorted orderable elements
func By ¶
func By[T any, O constraints.Ordered, TS ~[]T](elements TS, orderConverter func(T) O) TS
By makes clone of stable sorted elements 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.