You may have also been asked as to which of the sins are greater, adultery and fornification or homosexuality?
Imam Reza (AS) says:
Know that heinousness of rear (gay) is greater than the heinousness of adultery; because God has destroyed a nation for the hideous act of gay but has not destroyed a nation for adultery.
Bihar al-Anwar, Vol. 76, P. 71.