To define sorting of result dataset, you may use the Sort Type and Sort Order columns of the Columns Pane.
The Sort Type column allows you to specify the way the fields will be sorted - in the Ascending or Descending order.
The Sort Order column allows you to setup the order in which fields will be sorted, if more than one field will be sorted.
To disable sorting by some field you should clear the Sort Type column for this field.
Defining DataSet sorting