reorder of ingredient IDs based on sort re-order.