The present invention is concerned with novel sulfonamides of formula Iwherein R1, R2, Ar, Hetaryl, m and n are as described in the description and claims. The compounds are orexin receptor antagonists, useful in the treatment of disorders, in which orexin pathways are involved.