def inverted_list_index(l):
    """Given a list, return a list enumerating the indexes that gives the original list in order.

    Example:
        [3, 1, 2, 4]
     -> [1, 2, 0, 3]
    """
    return [ i[0] for i in sorted(enumerate(l), key=lambda i: i[1]) ]