My guess would be that the Sony is better specs wise, but if you're investing in a system that you will take further I'd go for the Canon. It's a safe choice basically, a lot of people go for Canon so there's lots of resources and forums to do with it too should you need any help/advice.
I'm sure Brazo will come and object to this but if it was me I'd go for the Canon.
If your starting out I'd look at Nikon models ("as well") especially the 5100/5200.