def trim_list_by_inds(list_to_trim: list, indices: list):
    """Trim a list given an unordered list of indices.

    :param list_to_trim: list to remove elements from
    :type list_to_trim: list
    :param indices: indices of list items to remove
    :type indices: list
    :return: new list, trimmed items
    :rtype: list, list
    """
    new_list = list_to_trim.copy()
    trimmed = []
    for index in sorted(indices, reverse=True):
        trimmed.append(new_list[index])
        del new_list[index]
    return new_list, trimmed
