How to Install libsort-naturally-perl in Ubuntu 18.04



Install libsort-naturally-perl by entering the following commands in the terminal:

sudo apt update
sudo apt install libsort-naturally-perl

Description:

Sort naturally - sort lexically except for numerical parts

Sort::Naturally exports two functions, nsort and ncmp; they are used in implementing the idea of "natural sorting" algorithm. With that natural sorting, numeric substrings are compared numerically, and other word-characters are compared lexically.

Homepage: https://metacpan.org/release/Sort-Naturally

Version: 1.03-2

Section: universe/perl