import re


def reorder(text):
    """reorder strings that are in format [title, The] to [The title]"""
    m = re.match("(.+)(?:,|;) The(.*)", text)
    return "The " + m.group(1) + m.group(2) if m else text