lreorderbylist orderlist inputlist
orderlist | list with correct order and all items present |
inputlist | list to be re-ordered in same order as orderlist |
Returns list of items in input list, in same order as orderlist. Rejects any item in inputlist not in orderlist. |