The correct option is B −CHO,−SO3H,,−OH,−NH2
In an organic compound, firstly, the functional group is identified which gives us the appropriate suffix. Then the longest carbon chain having the functional group is chosen in such a manner that the functional group gets the lowest number in the chain.
In case of multiple functional groups in a compound, one of the functional groups is chosen on the basis of the priority list and is referred to as the principal functional group. The compound is named on the basis of that functional group.
The priority list of the functional group can be given as:
−COOH>−SO3H>−COOR>−COCl>−CONH2>−CN>−HCHO>RCOR>−OH>−NH2>−C=C−
Thus, the correct order is option (b).