from typing import List
from typing import Dict


def get_index_of_the_arline_sorted_list(airport_sorted_by_nb_of_flights: List[str]) -> Dict:
    """
    Create a dictionnary of the flight arranged in alphabetical order with their index as value to keep the right order
     of the airport sorted by number of flight.\n
    :param airport_sorted_by_nb_of_flights: list of airport sorted by number of flight\n
    :return:a dictionnary of the airport with their index as value to keep the right order
    """
    sorterIndex = dict(zip(airport_sorted_by_nb_of_flights, range(len(airport_sorted_by_nb_of_flights))))
    return sorterIndex