Sentences given to three sex offenders have been referred to the Court of Appeal, the Attorney General's office has confirmed.