If the court so finds, it shall order that the respondent be transferred to an appropriate treatment facility for an evaluation as to whether the respondent has a congenital or acquired condition that is manifested by a sexual disorder, a personality disorder, or other mental disorder or dysfunction.