Documentation
¶
Overview ¶
Package order provides ordering helpers for memory data structures.
New code should import this package for sorting helpers:
import "github.com/InsideGallery/core/memory/order"
Compatibility: memory/utils.Sort remains available for existing consumers. Prefer order.Sort in new code and keep additional ordering helpers near this package rather than extending the legacy aggregate path.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Sort ¶
func Sort(values []interface{}, compare comparator.Comparator)
Sort sorts values in place according to the comparator.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.