def order(self):
        if self.stage:
            for st in STAGES:
                if st in self.stage:
                    stage = (STAGES.index(st), self.stage)
                    break
        else:
            stage = (len(STAGES),)
        return (int(self.major), int(self.minor), int(self.patch)) + stage