Correct answer: iv > i > iii > ii
The acidity of phenols is influenced by the substituents on the benzene ring. Electron-withdrawing groups like nitro (-NO2) increase acidity, and their position matters. Para-nitrophenol (iv) is more acidic than meta-nitrophenol (iii) due to better resonance stabilization. Phenol (i) is less acidic than nitrophenols, and methylphenol (ii) is the least acidic due to the electron-donating methyl group.