the only way you can decide is that if you narrow it to what exactly you want from these cams.
after that it should be pretty easy.
since you have narrowed it down to two choices, compare them by taking the same scene with these cams and use a laptop or a pc to check the images.
and then you could do the same during night to see how the night shot works.
i have a canon and a sony not these models, and i have fond canon to be better, so i would suggest you to buy cannon
I will vote for Canon...Sony products are simply overpriced..plus the Canon model u mentioned has Image Stabilizer Lense, so Hand Shakes while clicking the capture button wont produce any blur in the image,
ok in that case i would say canon, my uncle is a part time photographer and he uses canon him self and gefted me A620.
so go for canon, but what you can do is take both the cams and test it under the same light conditions using the same scene, and if possible test them under low light conditions.
and also try to get professional help from the place you are going to learn photography.
i love photography myself, but i am trying to learn it my self.