def sort_genes(self, stable=True, inplace=False, ascending=True):
        kind = 'quicksort'
        if stable:
            kind = 'mergesort'
        return self.sort_index(kind=kind, inplace=inplace, ascending=ascending)