Performs sort on local data set.
localSort([silent])
silent boolean, indicates whether to display sort time in the status bar
Returns number of milliseconds it took to sort.

Description

Performs local sort based on the information in the .sortData array. This method only works on the local data source, when .url property is not set. This method will only sort records, you still need to call .refresh() method to refresh them on the screen.
If you have grid defined in the following way: You can apply sort in the following way: