def session_sort_key(session):
    """
    We just want to sort so that 22A comes before 22B but 100 comes after 99
    """
    parts = session.split("_")
    converted = []
    for part in parts:
        try:
            converted.append(int(part))
        except:
            converted.append(part)
    return tuple(converted)