According to cahn-Ingold-prelog sequence rules, the correct order of priority of the given groups is
-OH > -COOH >-CHO > - CH2OH
When the atom (which is directly attached to the asymmetric carbon atom) of a group has higher
atomic number, the group gets higher priority. Groups with atoms of comparable atomic number
having double or triple bond, have high priority than those have single bond.
−OH>−COOH>−CHO>−CH2OH