Specs are really close according to gsmarena.com
HTC has 768mb ram where the Sony has 512mb. But the Sony has a 8mp camera and the HTC a 5mp.
I'm wondering which is the better device. My gut tells me the HTC but I'm open to suggestions?