docstr: Sort the rows in :attr:`data` according to the values of a column
  
  Parameters
  ----------
  by: str, or list of str
      The column name(s) by which to sort the rows of :attr:`data`
  ascending: boolean, default=False
      The direction in which to sort the rows of :attr:`data`
docstr_tok: ["Sort","the","rows","in",":","attr",":","`","data","`","according","to","the","values","of","a","column","Parameters","--","--","--","--","--","by",":","str",",","or","list","of","str","The","column","name","(","s",")","by","which","to","sort","the","rows","of",":","attr",":","`","data","`","ascending",":","boolean",",","default=False","The","direction","in","which","to","sort","the","rows","of",":","attr",":","`","data","`"]
code: def sort(self, by, ascending=False):
      """Sort the rows in :attr:`data` according to the values of a column
  
      Parameters
      ----------
      by: str, or list of str
          The column name(s) by which to sort the rows of :attr:`data`
      ascending: boolean, default=False
          The direction in which to sort the rows of :attr:`data`"""
      self.data.sort_values(
          by=by, axis=0, inplace=True, ascending=ascending
      )
  
file_path: hyperparameter_hunter/hyperparameter_hunter/i_o/leaderboards.py
imports: from abc import ABCMeta, abstractmethod
  from collections import OrderedDict
  from numbers import Number
  import numpy
  import pandas
  from typing import Dict, List, Optional, Tuple
label_desc: Use image node_id 6 for calling the Leaderboard obj's underlying member method code with example usage: obj.sort(by, ascending) without return types