The correct option is B I > III > II > IV
In (I) and (III) octet is complete for all the atoms so they are more stable than (II) and (IV).
In (I) negative charge is on more electronegative element so it is more stable than (III).
In (II) –ve charge is on more electronegative element and +ve charge is on less electronegative element so it is more stable than (IV).