DatStat Illume 4.5 SDK Class Reference

SDK_Query.AddSort Method 

Indicates that a particular variable in the result set should be used to sort the results. Query results can be sorted by any variable included in the SelectList property.

More than one sort can be added by calling AddSort more than once. The first sort defined will be the primary sort, with subsequent sorts applied in the order they are added.

public void AddSort(
   String variableName,
   SDK_SortDirection direction
);

Parameters

variableName
The id of the variable that will be used for sorting the results.
direction
The SDK_SortDirection the variable will be sorted.

See Also

SDK_Query Class | DatStat.SDK.WebServiceWrappers Namespace