sort line_items by product position
keep plugins dir
remove plugins dir