Acidic strength of carboxylic acids increases with the electron-withdrawing ability of substituents on the carbon atom. Electron-withdrawing groups stabilize the carboxylate anion, increasing acidity. The order of electron-withdrawing strength is generally $CF_3 > CCl_3 > NO_2 > NC$.