SortKey
This property returns and sets a value that determines how the ListItem objects in a ListView control are sorted.
Syntax
object.SortKey [= integer]
Parameters
- object
- Object expression that evaluates to a ListView control.
- integer
- Integer that specifies the sort key, as described in Settings.
Following are the settings for the SortKey property:
- 0
- Sort using the Text property of the ListItem object.
- > 1
- Sort using the specified collection Index subitem.
Remarks
You must set the Sorted property to True before any change takes place.