Place the events that formed the Solar System in the time order
Planetesimals collide to form large bodies whose surfaces become smooth due to gravity.
Dust and gases flatten into a spinning disk.
Dust and gases collide to form planetesimals.
Dust and gases form a cloud.
Matter collects at the center of the disk and heats up; fusion begins.