For some reason, Sony continues to deliver sub-standard camera performance with its smartphones, and the Xperia 5 continues that trend. The phone was tested by DxOMark and found lacking, only managing to match two-year-old flagships from other companies.
https://www.notebookcheck.net/Still-two-years-behind-The-Sony-Xperia-5-s-cameras-play-catch-up-to-the-competition.451161.0.html