The nitro group (-NO2) is a strong electron-withdrawing group, which stabilizes the phenoxide ion after deprotonation, making o-nitrophenol the most acidic. Methoxy is electron donating so it reduces acidity. Cresol is less acidic than phenol itself.