Last time I had a Sony phone (Xperia Z5), the hardware was quite nice and the software was nearby stock Android, except for some apps like launcher, camera or gallery, which were a slightly nicer than the stock ones.
But they were on a strange schedule, they released a new flagship every 6 months instead of every year. They of course could not support all the models at the same time, so the support was shorter that competition.
I think they have finally gotten their support schedule together with the latest one.
software fine, hardware fine except camera quality and battery size, a bit expensive