Which from following is a correct priority order for selection of principal functional group for nomenclature of polyfunctional compound?
A. \(-\mathrm{COOH}\gt-\mathrm{SO}_3 \mathrm{H}\gt-\mathrm{COOR}\)
B. \(-\mathrm{COOR}\gt-\mathrm{COOH}\gt-\mathrm{SO}_3 \mathrm{H}\)
C. \(-\mathrm{SO}_3 \mathrm{H}\gt-\mathrm{COOR}\gt-\mathrm{COOH}\)
D. \(-\mathrm{COOR}\gt-\mathrm{SO}_3 \mathrm{H}\gt-\mathrm{COOH}\)