I wouldn't recommend any Sony Xperia phones right now, as I am a current owner of the Z3 compact, it was really good in performance and in battery, however, suddenly the top side of the screen became unresponsive. I believe this to be true to former Z models also (I've seen a lot in the forums and ALSO in real life, where I share the same disappointment with some of my peers who own Xperia phones).
It lasted 1.5 years working good. Sony does not really entertain such cases (especially if out of warranty, I've SEEN BETTER customer support). I've seen problems with the X series lately, I'd be glad to know if Sony would recognize this and make changes.