def ordenar_extraterrestre(desordenadas, orden_alfabeto):
    """Orders a list of words based on custom alphabet order"""

    ordenada = sorted(
        desordenadas, key=lambda word: [orden_alfabeto.index(char) for char in word]
    )
    return ordenada