Natural Sorting for Python

JSON →
library 8.4.0 ·python
verified Jun 9, 2026 install

natsort is a Python library that provides 'natural' sorting capabilities, enabling lists containing numbers (e.g., filenames, version strings) to be sorted numerically rather than strictly lexicographically. It's a versatile tool that handles various data types and offers extensive customization. The current version is 8.4.0, and the library is actively maintained with a regular release cadence.

total hits 32
actors 6 distinct systems
last hit 1d ago AhrefsBot
ByteDance
6
GPTBot
4
MetaBot
4
Script
2
Humans
7

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇩🇪 Germany · VN · 🇨🇦 Canada