Parameters
- list
- A list of items that implements the IDataList interface.
- name
- The name of the property to sort by.
- ascending
- A value that indicates whether the sort order is ascending.
This method can be called multiple times on the same list to specify secondary sort criteria. However, the ascending parameter must be the same for each call.
Call this method to set sort criteria before calling ClassFactory.CreateFromDataList