Consider the acidity of the carboxylic acids.
(i) PhCOOH
(ii) o- NO2C6H4COOH
(iii) p - NO2C6H4COOH
(iv) m - NO2C6H4COOH
which of the following order is correct ?
Electron withdrawing group increases the acidity of benzoic acid, o-isomer will have higher acidity than -p position have more pronounce electron-withdrawing effect than $-NO_2$ group at -m position.
Hence the order of acidity is
o−NO2C6H4COOH > p−NO2C6H4COOH >m−NO2C6H4COOH > Ph−COOH
Hence, option D is correct.