def delete_idx_from_list(my_list, indexes):
    """
    Helper to delete an arbitrary collection of indexes.
    Note: delete them in reverse order so not to lose the subsequent indexes.
    """
    for index in sorted(indexes, reverse=True):
        del my_list[index]
    return my_list