ChartOfAccountsExtDimensionTypes.<Chart of Accounts name>.Sort

Syntax:

Sort(<Columns>)

Parameters:

<Columns> (required)

Type: String.
Comma-separated string of column names to sort table by. Each column name may be followed by a space and a sort direction specification. Direction is defined as: "Desc": descending order; "Asc": ascending order. Sort ascending is used by default. The order of column names defines the sorting order. This means that the table initially will be sorted by the column indicated first. Then groups of rows with the same value in this column are sorted by the second column, etc.

Description:

Sorts the tabular section according to specified sorting criteria.

Availability:

Server, thick client, external connection.

Note:

The method can be used only when the tabular section is obtained from an object's property. If the tabular section is obtained from a reference property (or selection property), using this method would cause a runtime error.

    

1C:Enterprise Developer's Community