numeric_sort_key

numeric_sort_key(s, _nsre=re.compile('([0-9]+)'))[source]

Key to order in numeric order with the sort function. Split a string by numbers.