Arrange the events in the correct order to describe how the magnetic field forms around Earth.
The electric currents create a magnetic field around Earth.
A continuous flow of liquid iron creates electric currents inside Earth.
Iron-rich magma heats up inside Earth.
Convection currents form, cycling magma between the core and the crust.