Registry / utility / sortutil

sortutil

JSON →
library1.2.1gogounverified

Provides utilities supplementing the standard 'sort' package, including topological sort and support for math/big types.

go get modernc.org/sortutil
INSTALL
IMPORT
SIG · SORTUTIL
S
sortutil
utilitygov1.2.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

sortutil
modernc.org/sortutil

Sorts a slice of integers in ascending order using sortutil.

package main import ( "fmt" "modernc.org/sortutil" ) func main() { data := []int{3, 1, 4, 1, 5} sortutil.Asc(data) fmt.Println(data) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
sortutil — go get sortutil · libregistry