The correct acidity order of the following is -

We know that, carboxylic acids are more acidic than phenols. Further, presence of electron withdrawing groups on the ring increases the acidic nature and electron releasing group decreases the acidic strength. So, structure III, due to the presence of carboxylic acid is the strongest acid .
In structure IV, the +I effect of alkyl group reduces the acidic strength of the carboxylic acid. Structure II, due to the presence of electron withdrawing substituent (Cl), is more acidic than phenol . Phenol (structure I) is the weakest acid amongst all .
Tagged Acidity and basicity of organic compounds. Machine-assigned, so read it as a strong shortlist rather than a verdict.