The order in which records are sorted in the grid can be changed by clicking on the column header. By default records are ordered by the first column in the grid. You can override this default order using the
orderBy property which specifies the intial order in which the records are displayed.