This package browser is in early development. Mind the rough edges.

perl-sort-naturally

Sort lexically, but sort numeral parts numerically

This module exports two functions, nsort and ncmp; they are used in implementing a "natural sorting" algorithm. Under natural sorting, numeric substrings are compared numerically, and other word-characters are compared lexically.

Installation

Install the latest version of perl-sort-naturally as follows:

guix install perl-sort-naturally

Or install a particular version:

guix install perl-sort-naturally@1.03

You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell documentation for more information.

Badge code

You can use the following badge to inform users of perl-sort-naturally about the latest version available in Guix.

Example HTML:

<a href='https://packages.guix.gnu.org/packages/perl-sort-naturally'><img src='https://packages.guix.gnu.org/packages/perl-sort-naturally/badges/latest-version.svg' alt='Version in GNU Guix'></a>

Example Markdown:

[![Version in GNU Guix](https://packages.guix.gnu.org/packages/perl-sort-naturally/badges/latest-version.svg)](https://packages.guix.gnu.org/packages/perl-sort-naturally)

Example Org:

[[https://packages.guix.gnu.org/packages/perl-sort-naturally][https://packages.guix.gnu.org/packages/perl-sort-naturally/badges/latest-version.svg]]