How to reproduce:
1. Open the attached project "CopyColorPassOrderIssue-6000.0.zip"
2. Open Edit>Project Settings...>Graphics
3. Open Window>Analysis>Frame Debugger
4. Disable "Compatibility Mode (Render Graph Disabled)" in the Project Settings window
Expected results: The order of custom pass is not changed
Actual results: Render Pass order is changed when enabling Render Graph
Reproducible with: 6000.0.3f1
Could not test with: 2021.3.38f1, 2022.3.30f1 (Render Graph not available)
Reproducible on: Windows 10 22H2
Not reproducible on: No other environment tested