code: def sort(self, column, order=Qt.DescendingOrder):
          
          if column == 0:
              self.breakpoints.sort(
                  key=lambda breakpoint: breakpoint[1])
              self.breakpoints.sort(
                  key=lambda breakpoint: osp.basename(breakpoint[0]))
          elif column == 1:
              pass
          elif column == 2:
              pass
          elif column == 3:
              pass
          self.reset()
docs: Overriding sort method