Small company logo:
   History
 
Advertising banner:
 
 ServerDirectory.SortField
Home • Help • Customization Tools • FCAS • Language Reference • ServerDirectory.SortField
 
Purpose
Sorts Directory entries that have been returned by container-oriented methods such as ContainerField and FindFirst/FindNext on a particular field.
Syntax
ServerDirectory.SortField ( FieldID [, Order] )


FieldID
The ID of the field on which you want to sort.
Order
The order in which to sort the entries. This is a number from 1 to 3, where 1 is the primary, 2 the secondary, and 3 the tertiary sort order.
If you don't specify a sort order, it will be primary.

Example
Dim sd as ServerDirectory
sd.SortField (1023, 2)