SortOrder Property

Determines whether the list will be sorted in ascending or descending order.

object.SortOrder = [integer]

Where object is an object expression that evaluates to one of the controls in the Applies To list, and value is a value or constant as described in Settings.

Use

The Sorted property must be set to True before a list will be sorted in the order specified by SortOrder.

Settings

The SortOrder property settings are:

Constant

(Macros)

Constant

(Scripts)

Value

Description

SortAscending

nlSortAscending

0

Sorts in ascending alphabetical order. Numbers are treated as strings. (Default)

SortDescending

nlSortDescending

1

Sorts in descending alphabetical order. Numbers are treated as strings.

See Also

Sorted property | SortKey property

Applies To

ListView control


© 2004-2021 looksoftware. All rights reserved.