src/gui.py
def sort(self, Ncol, order):
        """Sort table by given column number.
        """
        self.order = order
        self.ncol = Ncol
        self.layoutAboutToBeChanged.emit()
        self.arraydata = sorted(self.arraydata, key=operator.itemgetter(Ncol))
        if order == Qt.DescendingOrder:
            self.arraydata.reverse()
        self.layoutChanged.emit()
Sort table by given column number.
        
Sort table by given column number.
Sort table by given column number .
def sort(self, Ncol, order):
        self.order = order
        self.ncol = Ncol
        self.layoutAboutToBeChanged.emit()
        self.arraydata = sorted(self.arraydata, key=operator.itemgetter(Ncol))
        if order == Qt.DescendingOrder:
            self.arraydata.reverse()
        self.layoutChanged.emit()
def sort ( self , Ncol , order ) : self . order = order self . ncol = Ncol self . layoutAboutToBeChanged . emit ( ) self . arraydata = sorted ( self . arraydata , key = operator . itemgetter ( Ncol ) ) if order == Qt . DescendingOrder : self . arraydata . reverse ( ) self . layoutChanged . emit ( )
Sort table by given column number.
Sort table by given column number .
"""Sort table by given column number.
        """
self
Ncol
order