move everything to 'old' directory before merge

This commit is contained in:
2022-09-20 18:26:15 -06:00
parent 58b6ccd61a
commit 7a1d9adc79
172 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1,11 @@
# -*- coding: utf-8 -*-
import re
def natural_sort(string):
"""
Natural sorting function which sorts by numerical value of a string,
rather than raw ASCII value.
"""
return [int(s) if s.isdigit() else s for s in re.split(r'(\d+)', string)]