sort

package
v0.0.0-...-9799ab4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sort

func Sort(
	slices interface{},
	control_slice_index int,
	compare func(i, j interface{}) (int, error),
	reverse bool,
) error

'slices' must be slice of slices. all slices in 'slices' must have same number of items. control_slice_index determines which slice's elements will be fed to compare callback. all slices inside 'slices' will be simultaniously sorted accordingly to 'compare's responses.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL