The correct stability order of the following resonance structures is

From the IIT-JEE 2009 · Paper 2 paper. Try it, check your answer, then read the worked solution below.
The correct stability order of the following resonance structures is

Try it yourself first, then check your working against this.
Worked solution
Criteria: complete octets first, then the negative charge on the more electronegative atom.
Order: I > III > II > IV.
(B)
Concepts used: octets first, then charge on the electronegative atom
Every past question tagged to the same part of the syllabus, with solutions.
All JEE Advanced questions on Chemical Bonding and Molecular Structure · All JEE Advanced questions on General Organic Chemistry
Past questions on the same topic (Resonance), each with a worked solution.
Timed, in the real format, and marked the moment you submit.