natsort

package
v0.0.0-...-ae62ce3 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2021 License: GPL-3.0 Imports: 2 Imported by: 1

Documentation

Overview

Package natsort provides an implementation of the natural sorting algorithm. See http://blog.codinghorror.com/sorting-for-humans-natural-sort-order/.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Less

func Less(s, t string) bool

Less reports whether s is less than t.

func LessRunes

func LessRunes(s, t []rune) bool

LessRunes reports whether s is less than t.

func Strings

func Strings(s []string)

Strings sorts a slice of strings with Less.

Types

This section is empty.

Jump to

Keyboard shortcuts

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