This is pretty pointless, as final image quality depends on a lot more than just the sensor, especially on a phone, but a better measurement of sensor quality is pixel size or density, as bigger pixels gather more light.
Pixel density is calculated as a ratio of resolution to area, is usually expressed in MP/cm^2 and lower is better.
iPhone 4: 5MP, 1/1.7", area 0.15cm^2, density 32MP/cm^2
N8: 12MP, 1/1.83", area 0.38cm^2, density 31MP/cm^2
As for the lens, I prefer wide angles, but again the raw numbers don't tell you much.
Pixel density is calculated as a ratio of resolution to area, is usually expressed in MP/cm^2 and lower is better.
As for the lens, I prefer wide angles, but again the raw numbers don't tell you much.