The APA are not the ultimate arbiters of what is and is not a sexual orientation, and if anything, the fact DSM-5 referred to it as a sexual orientation lends credence to the view that it is as such.
Sexual orientations and psychiatric disorders are not mutually exclusive.
Bear in mind for much of history society treated homosexuality akin to a psychiatric disorder (Edit: It was in fact classified as a mental illness in both the first and second editions of the DSM, released in 1952 and 1968, so let's not treat the DSM as gospel)