IsSorted (NotesViewColumn - LotusScript®)

Read-write. Indicates whether a column is an auto-sorted column.

Note: This property is read-write with Release 6.

Defined in

NotesViewColumn

Data type

Boolean

Syntax

To get: flag = notesViewColumn .IsSorted

To set: notesViewColumn . IsSorted = flag

Legal values

  • True indicates that the column is auto-sorted.
  • False indicates that the column is not auto-sorted.

Usage

In the sort tab for column properties, the "Ascending" or "Descending" button indicates an auto-sorted column.

This property is False if the column is user-sorted but not auto-sorted.

This property must be True for the value of IsSortDescending to be effective. If IsSortDescending is set to True, it enables auto-sorting in descending order. If IsSortDescending is set to False, it enables auto-sorting in ascending order.

See IsSortDescending, IsAccentSensitiveSort, and IsCaseSensitiveSort to modify the auto-sort attributes.

See IsResortAscending, IsResortDescending, and IsResortToView for a user-sorted column.

Example