Reorder instructions