Explanation
To arrange the words in alphabetical order as they appear in a dictionary, we compare them letter by letter from left to right.
All five words begin with the prefix Imm.
Comparing the fourth letters:
The fourth letter of Immerse is e.
The fourth letter of Immigrate is i.
The fourth letters of Immolate and Immortal are o.
The fourth letter of Immunity is u.
Since e comes before i, which comes before o, which comes before u in the English alphabet, Immerse (3) is first, followed by Immigrate (1), then the two words starting with Immo, and finally Immunity (2) is last.
To determine the order between Immolate (4) and Immortal (5), we compare their fifth letters: l and r. Since l comes before r, Immolate (4) comes before Immortal (5).
This gives the final alphabetical order as Immerse, Immigrate, Immolate, Immortal, Immunity, which corresponds to the sequence 3, 1, 4, 5, 2.