In several places, I have seen that while naming benzene derivatives, no priority for substituents is followed. Eg: 2-hydroxy aniline= 2-amino phenol.
Is there no order? Or is the order different from aliphatic compounds?
According to the current version of Nomenclature of Organic Chemistry – IUPAC Recommendations and Preferred Names 2013 (Blue Book), the retained names “aniline” and “phenol” are preferred IUPAC names (PINs). Parent structures having retained names are called functional parent compounds.
For both retained names, substitution is permitted at any position. However, substitution of a functional parent compound is limited to substituent groups cited as prefixes in accordance with the seniority of the functional group that is explicitly expressed or implied in the functional parent compound name. (In systematic names, the presence of this characteristic group would normally be expressed as a suffix.)
Therefore, the correct name for the compound given in the question is “2-aminophenol” (not “2-hydroxyaniline”) since hydroxy compounds are senior to amines.