Fix output order for regenerate commands.