All mode now preserves dependency order