Do you think the sun's gravity is greater or less than that of all the other planets?

Probably not. The rocky inner planets are probably densest. Google it.