Well they would start out as horizontal layers, because with a gradual cooling, everything would have a chance to settle by weight. As it shrinks and moves it pushes up, but what you see are layers on their side, without intersecting layers.
Well when I was studying astronomy as a hobby and reading all the things about how solar systems are formed, that is where I remember how they theorize planet formation.
I think I see what's muddling you. You are being confused by vague memories of the process known as
differentiation, which resulted in the sorting of the Earth into core, mantle, and crust. This is indeed a sorting by weight (or, to be precise, density), and it would indeed not have happened if the Earth had cooled to a non-molten state in a snap of the fingers.
But this has nothing at all to do with the beds of sediment found in the upper crust.
Edited by Dr Adequate, : No reason given.