Order the events to describe ionic compound formation
Attraction of oppositely charged ions
Formation of ions
Transfer of electrons from metal to nonmetal