def insert(value: int, in_list: list) -> list:
    """
    Insert a value in an ordered list
    :param value: value to insert
    :param in_list: list where we add the value
    :return: the new list
    """
    for idx in range(len(in_list)):
        if in_list[idx] >= value:
            return in_list[:idx] + [value] + in_list[idx:]
    return in_list + [value]