Just to offer an alternative viewpoint, because I have come across these issues and ended up buying a Sony phone because I had such a bad time without the 3.5mm headphone socket.
Some people want more internal storage than even 512gb - I have a 400gb microSD in my phone because with the OS and apps getting bigger, even a large internal storage can fill up fast. Also, it's nice to have media collections, photos, and other files with you, rather than relying on data and cloud storage, and the cost is now very low for a large microSD. It's also easier to transfer large amounts of data between devices that way.
As for headphones, dongles are a pain and USB headphones have to have a (usually not great) DAC in them to work, plus many people already have great headphones they want to keep using. All of that said, the biggest issue with USB headphones IMO is that there is only one USB port - the wear and tear of using it for everything is significant. Also, USB-C plugs are much more breakable and harder to replace than a 3.5mm jack. Additionally, you cannot charge and listen at the same time without a dongle and many of those are bad (none of the ones I have tried have worked for more than a few weeks before connectivity issues started).
Yeah, it's not cool. However, the Xperia phones up to series iii all have LineageOS releases, which can extend the life, and I'm hoping it comes to the later series as those get to EOL. They absolutely should have better official support though.