package
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Feb 25, 2024
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package jelsort provides custom sorting.
func By[E any](items []E, lt func(left E, right E) bool) []E
By takes the items and uses the provided function to sort the list. The
function should return true if left is less than (comes before) right.
items will not be modified.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.