Order.Set

Syntax:

Set(<OrderString>)

Parameters:

<OrderString> (optional)

Type: String.
List of field names separated by commas, by which to sort. You can specify the sort direction using a space after each field name. Direction is defined as: "Desc": descending order; "Asc": ascending order. Sorting is done in ascending order by default. The order in which you specify the field names determines the sort order. This means that sorting will be done by the field specified first. Then groups of strings with the same values in that field will be sorted by the field specified second, and so forth.

Description:

Sets sort based upon specified fields in chosen direction.

Availability:

Server, thick client, external connection.

Example:

CatalogList.Order.Set("Code Desc, Name Asc");

    

1C:Enterprise Developer's Community