The present invention relates to a compound of formula I, or an isotopic form, stereoisomer, a tautomer, a pharmaceutically acceptable salt, a solvate, a polymorph, a prodrug, N-oxide or S-oxide thereof; and processes for their preparation. The invention further relates to pharmaceutical compositions containing the compounds and their use in the treatment of diseases or disorders mediated by RORγ.