This is a loaded question and here's what to look for:
1) Dynamic range. Depends on the quality of the sensor. Can pick up shadow detail and highlights at the same time. Film used to get "ten stops" or 2 to the 10th power changes in light.
2) Facial recognition software. Goofy, but helpful, especially in backlit conditions and other extremes, like when snow throws it off. Even a red painted wall would "overload" the color correction into neutralizing the redness if it's not for the face recognition saying, hey, get this skin tone right. An adjunct is if you can quickly highlight a face or other feature in "preview" mode you want the camera to concentrate its focus and exposure on.
3) Optics. A lower aperture number (it's a ratio, so more glass) lets more light in and you need less "sensor gain" which is grainy and not as nice as getting the picture "honestly". A phone was advertised with an a f/1.8 lens which is pretty good, for phones. (Most are f/3.5 or worse.) Sorry, forget which phone.
If you can get specs for the actual physical size of the CMOS chip, more real estate is better. This is where a "real" digital camera outshines a phone, and why Richard Avedon shot large format film when others used 35mm.