A solution containing $1.0 \mathrm{M}$ each of $\mathrm{Cu}\left(\mathrm{NO}_{3}\right)_{2}, \mathrm{Mg}\left(\mathrm{NO}_{3}\right)_{2}, \mathrm{AgNO}_{3}, \mathrm{Hg}\left(\mathrm{NO}_{3}\right)_{2}$
is being electrolysed using inert electrodes. The values of standard electrode potential are: $\mathrm{Ag}^{+}\left|\mathrm{Ag}=0.80 \mathrm{~V}, \mathrm{Hg}^{2+}\right| \mathrm{Hg}=0.79 \mathrm{~V}$
$\mathrm{Cu}^{2+}\left|\mathrm{Cu}=0.34 \mathrm{~V}, \mathrm{Mg}^{2+}\right| \mathrm{Mg}=-2.37 \mathrm{~V}$
With increasing voltage, the sequence of deposit of metals on the cathode will be
(a) $\mathrm{Ag}, \mathrm{Hg}, \mathrm{Cu}, \mathrm{Mg}$
(b) $\mathrm{Mg}, \mathrm{Cu}, \mathrm{Hg}, \mathrm{Ag}$
(c) $\mathrm{Ag}, \mathrm{Mg}, \mathrm{Cu}$
(d) $\mathrm{Cu}, \mathrm{Hg}, \mathrm{Ag}$