But I did an experiment, as shown in the GIF, where the green one was the first, the red one was the second, the yellow one was the third, and the blue one was the fourth, and unity didn’t sort them
I don’t think it’s possible in the built-in pipeline, but afaik Universal RP used to have it for shadows.
If you really really need it for built-in and you don’t have too many objects, you can sort them manually.
If I had the prepass or sort them manually, how can I see the effect, or the impact of these changes, for example, I switch to overdraw mode in the scene, then will there be a change in the picture