The acidity of these compounds is dictated by the substituents on the aromatic ring, which affect electron density.
Therefore, the acidity order is \( A > C > D > B \), with A being the most acidic, followed by C, D, and B.