The density of the sun is 1410kg/m^3 and mercury's is 5430kg/m^3, but shouldn't the sun be denser? Because when the solar system was forming there was a big disk of debris, and depending on the density of the debris it went closer or further from the centre which then forms the planets, but the sun is in the centre, and it's less dense than mercury, why?