Ok, sound you may prefer htc, cause they are one of the best at sound, the Sony xperia z in-ear is not bad, but the external speaker is way worse than htc, I don't really use the external speaker, as I have bluetooth speaker and headphones.
The screen is really good as good as htc or maybe better, bigger screen and good visual angles (I'm not English I don't know the word, I mean that you can see the device really well even if you tilt the screen) camera is a whole way better than htc, specially the stock one, I mean If you flash a custom rom you'll lose some features, but it'll still be amazing. I gotta say it's not that great when dark, but, can htc one take a video under the water?
The battery isn't the best thing of the xperia z, it's alright, depending on your use, If you just use message and stuff during the day it may last until 6 o'clock. Although I've seen a really big improvement using custom roms such as cyanogenmod and aokp. I've used pac rom, the phone will be great and you'll really make use of the 5 inch screen, but the battery won't be that great, still, I highly recommend you to give it a chance.
I think that's it, if you need anything else, let me know, btw I may sell my xperia z on perfect conditions, If you're interested, contact me,
Thanks button if I helped