pub(crate) fn sort_lints(
    sess: &Session,
    lints: Vec<&'static Lint>
) -> Vec<&'static Lint>