def natural_sort(item):
    if item is None:
        return 0
    def try_int(s):
        try:
            return int(s)
        except ValueError:
            return s
    return tuple(map(try_int, re.findall(r'(\d+|\D+)', item)))