append line items to table in specified order