In substituted phenols, the presence of electron-withdrawing groups such as nitro group enhances the acidic strength of phenol. This effect is more pronounced when such a group is present at ortho and para positions. It is due to the effective delocalisation of negative charge in phenoxide ion.
Also, the acidity will increase with the number of electron-withdrawing groups. Thus, the order of acidity of the given compounds is