import re


def natural_keys(text):
    """
    Convert a text string into a tuple for natural sorting
    :param text: text string
    :return: tuple of tokens with numbers separated out
    """
    return tuple([int(token) if token.isdigit() else token for token in re.split(r'(\d+)', f'{text}')])