IMO, of test images I have seen, the SX30 and 40 are about the same...the 40 is slightly better with images at higher ISO.
Between the Canon and Sony it is pretty even as well. Neither is better; it comes down to preference of features.
A couple of questions.....
Is the overall picture quality on the SX40 better than the SX30 IS???...Worth the upgrade???...
And
OVERALL, which is the better camera and why...SX40 HS or HX100V???

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic