def sort(self):
        self.options = sorted(self.options,
                              key=self.compare)
        return self.options
Sort options based on definition before use.
dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/utilities/confsort.py/Options.sort