def natural_sort(ar):
    to_sort = []
    for item in ar:
        spl = re.split('(\d+)', item)
        l2 = []
        for el in spl:
            try:
                n = int(el)
            except:
                n = el
            l2.append(n)
        to_sort.append((l2, item))

    to_sort.sort()
    return [x[1] for x in to_sort]
Called on resource post delete to file an action log for this action.
dataset/ETHPy150Open ngsutils/ngsutils/ngsutils/support/ngs_utils.py/natural_sort--crossover with--dataset/ETHPy150Open rvanlaar/easy-transifex/src/transifex/transifex/resources/handlers.py/on_resource_delete