As a lawyer and a justice, she helped reduce the gender pay gap.