Add thank you to stackoverflow credit.
This commit is contained in:
parent
32395c0935
commit
b146251611
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ IGNORE_EXTENSIONS = ['py', 'lnk', 'ini']
|
||||||
|
|
||||||
def natural_sorter(x):
|
def natural_sorter(x):
|
||||||
'''
|
'''
|
||||||
|
Thank you Mark Byers
|
||||||
http://stackoverflow.com/a/11150413
|
http://stackoverflow.com/a/11150413
|
||||||
'''
|
'''
|
||||||
convert = lambda text: int(text) if text.isdigit() else text.lower()
|
convert = lambda text: int(text) if text.isdigit() else text.lower()
|
||||||
|
|
Loading…
Reference in a new issue