SC to hear legalisation on gay rights