from kube import Kube k1 = Kube(1,2,3) k2 = Kube(7,8,9) k3 = Kube(4,5,6) liste = [k1,k2,k3] sortert = sorted(liste) print(sortert) print(k1 > k3)