Add thank you to stackoverflow credit.

This commit is contained in:
voussoir 2020-04-02 20:29:22 -07:00
parent 32395c0935
commit b146251611

View file

@ -21,6 +21,7 @@ IGNORE_EXTENSIONS = ['py', 'lnk', 'ini']
def natural_sorter(x):
'''
Thank you Mark Byers
http://stackoverflow.com/a/11150413
'''
convert = lambda text: int(text) if text.isdigit() else text.lower()