def your_order(sentence):
    """
    Your task is to sort a given string. Each word in the string will contain a single number.
    This number is the position the word should have in the result.
    :param sentence: Numbers can be from 1 to 9. So 1 will be the first word (not 0).
    :return: If the input string is empty, return an empty string. The words in the input String
             will only contain valid consecutive numbers.
    """
    words = [(int(i), x) for x in sentence.split() for i in x if i.isdigit()]
    words.sort(key=lambda x: x[0])
    return " ".join(x[1] for x in words)