Identifies the column or set of columns by which the dataset is sorted.

The order can be reversed by adding a negative sign in front of the column name:

Multi-column sorts:  You can also specify multi-column sorts. The following example sorts first by the inverse order of ProductName and within that sort, rows are sorted by ProductColor:

Sort by original row numbers: As an input value, this parameter also accepts the SOURCEROWNUMBER function, which performs the sort according to the original order of rows when the dataset was created.