Generally, I would also recommend using pymoo [1] if you have multi-objective optimization problems. They also have an implementation of Non-dominated Sorting [2], which should serve the same purpose.
[1]: https://pymoo.org/
[2]: https://github.com/msu-coinlab/pymoo/blob/master/pymoo/util/...