Sort items in a collection on a given property.
- propertyName (String)
- The property which is to be sorted on, enclosed in brackets (e.g. [CompanyName]).
Note that you cannot sort on the following properties: Categories, BodyInk, ReminderTime, Recipients.
| Exception | Condition |
|---|---|
| NotSupportedException | Sort is not supported. |
| ArgumentNullException | propertyName is null. |