The correct order of acidity for the following compounds is

From the JEE Advanced 2016 · Paper 2 paper. Try it, check your answer, then read the worked solution below.
The correct order of acidity for the following compounds is

Try it yourself first, then check your working against this.
Worked solution
Order: I > II > III > IV.
(A)
Concepts used: ortho-OH stabilises the carboxylate by H-bonding, para-OH destabilises by +R
Every past question tagged to the same part of the syllabus, with solutions.
Past questions on the same topic (Acidity of carboxylic acids), each with a worked solution.
Timed, in the real format, and marked the moment you submit.