Natural Sorting for Python
JSON →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.
Traffic · last 30 days ↑400% vs prev 7d
total hits 32
actors 6 distinct systems
last hit 1d ago AhrefsBot
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇩🇪 Germany · VN · 🇨🇦 Canada
API endpoints
full doc /v1/registry/natsort
install /v1/registry/natsort/install
compatibility /v1/registry/natsort/compatibility