Sorts the list based on a System.ComponentModel.PropertyDescriptor and a System.ComponentModel.ListSortDirection.
- property
- The System.ComponentModel.PropertyDescriptor to sort by.
- direction
- One of the System.ComponentModel.ListSortDirection values.
If items are added or removed, these items are placed in the order of the sort.
This method is supported if IBindingList.SupportsSorting is true; otherwise, this method throws a NotSupportedException.