Among the following compounds:
I) Phenol II) Methylphenol III) m-nitrophenol IV) p-nitrophenol
The acidity order is:
IV > III > I > II
Group with -I effect increases the acidity of phenol. The effect is more when the group is present at para position. Methyl group is the group with +I effect, hence it is least acidic.