Use this method to sort the dataset when the Sorted property is True and sort columns have been specified for the dataset. The TDataColumnSortDirection property setting controls which columns are sorted, and how.
If no columns have a SortDirection property other than sdNone, then this method does nothing.
The Sort method only needs to be called once after the sort directions are initially assigned for the columns. After that point, any row operations will automatically maintain the active sort.