The correct option is A (i)>(iii)>(ii)>(iv)
The most stable resonating structure is the one with no charge separation. This corresponds to (i).
This is followed by (iii) as it has an octet of all atoms complete. None of them is electron deficient.
The resonating structure with a positive charge on a relatively electropositive atom and negative charge on the electronegative atom is more stable than the reverse case. So, the order of stability is:-
(i)>(iii)>(ii)>(iv)