How does the Supreme Court define the severity of certain actions related to sexual offenses?

Supreme Court intervenes in a case where Allahabad High Court's comments were deemed insensitive and inhuman.