Also see definition of "Sodomite" in Word Study
Study Dictionary
Sodomite
SODOMITE [ISBE]
SODOMITE - sod'-om-it (qadhesh, feminine qedheshah): Qadhesh denotes properly a male temple prostitute, one of the class attached to certain sanctuaries of heathen deities, and "consecrated" to the impure rites of their worship. Such gross and degrading practices in Yahweh's land could only be construed as a flagrant outrage; and any association of these with His pure worship was abhorrent (Dt 23:17 f): The presence of Sodomites is noted as a mark of degeneracy in Rehoboam's time (1 Ki 14:24). Asa endeavored to get rid of them (1 Ki 15:12), and Jehoshaphat routed them out (1 Ki 22:46). Subsequent corruptions opened the way for their return, and Josiah had to break down their houses which were actually "in the house of the Lord" (2 Ki 23:7). The feminine qedheshah is translated "prostitute" in Gen 38:21,22; Hos 4:14; in Dt 23:17 "prostitute" (the King James Version margin "sodomitess," the Revised Version margin transliterates). The English word is, of course, derived from Sodom, the inhabitants of which were in evil repute for unnatural vice.W. Ewing
Also see definition of "Sodomite" in Word Study