HomeFreeBSD

Normal python sort algorithm sorts lexicographically, so you might not get the

Description

Normal python sort algorithm sorts lexicographically, so you might not get the
results that you expect. Natsort provides a function natsorted() that helps sort
lists "naturally", either as real numbers (i.e. signed/unsigned floats or ints),
or as versions.

WWW: https://github.com/SethMMorton/natsort

PR: 205563
Submitted by: Yuri Victorovich <yuri@rawbw.com>

Details

Provenance
miwiAuthored on
Parents
rP405048: A tool to query the SPDX license list. Use the binary `spdx-lookup`.
Branches
Unknown
Tags
Unknown