py313-natsort (python/py-natsort) Updated: 3 months, 2 weeks ago Add to my watchlist

Natural sorting for Python

When you try to sort a list of strings that contain numbers, the 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.

Version: 8.4.0 License: MIT GitHub
Displaying statistics for 1,146 users who made submissions during: until

Statistics for selected duration

2025-Feb-10 to 2025-Mar-12


Total Installations 1
Requested Installations 1


macOS Versions

Loading Chart

Port Versions

Loading Chart



Xcode Versions

Loading Chart

CLT Versions

Loading Chart



Variants table

Variants Count


Monthly Statistics

Can remain cached for up to 24 hours