The correct stability order for the following species is

An oxygen atom bonded to the cationic carbon donates a lone pair, , giving a form in which every atom has an octet; this resonance outweighs hyperconjugation from alkyl groups.
(I) is a tertiary cation stabilised by the oxygen lone pair and by two methyl groups (six -H), so it is the most stable.
(III) is a secondary cation stabilised by the oxygen lone pair and only one methyl group (three -H), so it comes below (I).
(II) is a secondary alkyl cation with hyperconjugation only (five -H) and no resonance, so it is less stable than both oxygen-stabilised cations.
(IV) is a primary cation with only two -H, the least stable.
Hence, the correct option is (D).
Tagged Reactive intermediates and rearrangements. Machine-assigned, so read it as a strong shortlist rather than a verdict.