Site Root : python-natsort


See for details of the original implementation. This varient is exactly the same except written in python. Consider it licenced under the same licence as the original C code by Martin Pool.


strnatcmp.strnatcmp and the case insensitive equivalent strnatcmp.strnatcasecmp which can be used within python to sort strings that may start and end with numbers in a more natural fashion that a basic sort will, i.e with strnatcmp 9foo appears before 10foo and foo9 appears before foo10.

Caolan McNamara (2003) <>

Download Package

Last generated at Sun Feb 7 00:44:56 2016 Caolán McNamara <> Created with WebMake/0.5