Crystallization
think of it like when you put an ice cube tray into the freezer: the smaller ice cubes will turn to solid before the larger ones do!
Technical definition
The process of forming a crystalline solid, often described in the context of neutron stars where cooling causes the crust's phase transition to become solid.