How to Sort a Collection

To sort your data, add the name of the property that you want to sort to the Engine.TableDescriptor.SortedColumns collection.

// Sort column A.
groupingEngine.TableDescriptor.SortedColumns.Add("A");
' Sort column A.
groupingEngine.TableDescriptor.SortedColumns.Add("A")