Reorder table cells and update stock