Documentation ¶
Overview ¶
Package order provides common sorting functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BySliceIDs ¶
BySliceIDs sorts a slice of []graph.Node lexically by the IDs of the []graph.Node.
func BySliceValues ¶
BySliceValues sorts a slice of []cmp.Ordered lexically by the values of the []cmp.Ordered.
func LinesByIDs ¶
LinesByIDs sort a slice of graph.LinesByIDs lexically by the From IDs, then by the To IDs, finally by the Line IDs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.