Docs
API
  • sort(dataIndex: String, direction: String)

    Sorts grid by data index and direction.
    Possible values of direction: 'ASC'|'DESC'|'DROP'

    Example

    
    grid.sort('age');
    

    Example

    
    grid.sort('age', 'ASC');
    

    See also

    Doc link Sorting
    Tutorials link Sorting
    Tutorials link Server Sorting