It depends on your criteria which one is better for you. Think: screen size in inches, screen resolution, battery life, available apps, picture quality, amount of storage, warranty, performance, price.
It's quite unlikely one of the two is better in all aspects that you find important.
Looking at getting a iPhone 5c or a Sony Xperia M5, which is better?

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic