import calendar


def sort_months(months):
    """Sort a sequence of months by their calendar order"""
    month_ref = list(calendar.month_name)[1:]
    return sorted(months, key=lambda month: month_ref.index(month))