Move selected items to the start of a list.

bringItemsForward(ll, items)

Arguments

ll

list to adjust item order.

items

vector of items to bring to the front. Any not in the list will be ignored.

Value

list with selected items first