def sort_by(self, name, sort_dir='asc'):
        logger.log(5, "Sort by `%s` %s.", name, sort_dir)
        self.eval_js('table.sortBy("{}", "{}");'.format(name, sort_dir))
Sort by a given variable.
dataset/ETHPy150Open kwikteam/phy/phy/gui/widgets.py/Table.sort_by