The correct option is A I < II < III < IV
IV and III are conjugated dienes and hence more stable than I and II. If we compare III and IV, IV is more substituted and hence more stable. Similarly II is more substituted than I. So the stability order varies as: I < II < III < IV.