>>4068680As a photo, they are equal, just look on YouTube for how people who have been doing this for years often confuse where which camera is and sometimes prefer the iPhone 13.
The size of the sensor, optics and other things have already become of little importance, smartphones have simply caught up with cameras due to the computational power and neural networks, during all this time a minimum number of changes have been made to the smartphone hardware camera itself.
The main difference now is in the video, judging by the comparisons, even more computing power is needed for the effects to be applied with such a large amount of data as in 4k/6k/8k video. But even now, comparisons point to huge changes between iPhone 11 and iPhone 12 video quality, especially in a low light situations.