Arrange the events in the order that they’re likely to occur leading up to the formation of a solar system.

The temperature increases

The nebula shrinks.

The nebula spins

A cloud of dust and
gas forms.

The nebula flattens into
a disk.

Nuclear fusion takes place.