Sorting Items in a Folder
Items.Sort , Results.Sort, and Table.Sort allow you to sort Outlook items. This following table compares the few methods.
Items.Sort |
Results.Sort |
Table.Sort |
|
Object of Sorting |
Items in an Items collection based on a folder |
Items in a Results collection based on a search |
Items in a Table object based on a folder or search folder |
Applicable Properties as Sort Fields |
Explicit built-in properties with the exceptions listed in the Items.Sort topic |
Explicit built-in properties with the exceptions listed in the Results.Sort topic |
Explicit built-in properties and custom properties with the exception of binary and multi-valued properties |
Referencing of Properties |
|
|
|
Format of Sort Fields |
|
|
|
Error Conditions |
|
|
|