change orderlist from an ArrayList to LinkedList