diff --git a/lmfdb/ecnf/WebEllipticCurve.py b/lmfdb/ecnf/WebEllipticCurve.py index 9815b702f4..d566a31612 100644 --- a/lmfdb/ecnf/WebEllipticCurve.py +++ b/lmfdb/ecnf/WebEllipticCurve.py @@ -577,9 +577,10 @@ def make_E(self): try: self.gens = [web_point(parse_point(K, P)) for P in self.gens] self.gens_and_heights = list(zip(self.gens,self.heights)) + self.gens_and_heights.sort(key = lambda Ph: Ph[1]) except AttributeError: self.gens = [] - self.gens_and_orders = [] + self.gens_and_heights = [] # Global period try: