Tidy up the order for storage in the inventory