Adds a GROUP BY clause to the query using the FieldName. The field is formatted using the current data provider's FieldFormat.
VB.NET
emps.Query.AddOrderBy("LastName")
emps.Query.AddOrderBy("FirstName")
C# emps.Query.AddOrderBy("LastName");
emps.Query.AddOrderBy("FirstName");
DynamicQuery Class | NCI.EasyObjects Namespace