The correct order of stability is as follows:
(i)>(iii)>(ii)>(iv)
Because (i) and (iii) are stable because of resonance with each other and then comes (ii) because negative charge is more stable on an electronegative atom than positive charge.
Study 40% syllabus and score up to 100% marks in JEE