[]
        
(Showing Draft Content)

C1.DataCollection.C1CursorDataCollection-2.SortAsync

SortAsync Method

SortAsync(params SortDescription[])

Sorts the collection according to the specified sort descriptions.

Declaration
public Task SortAsync(params SortDescription[] sortDescriptions)
Parameters
Type Name Description
SortDescription[] sortDescriptions

The sort descriptions that determine how the data will be sort.

Returns
Type Description
Task

SortAsync(SortDescription[], CancellationToken)

Sorts the collection according to the specified sort descriptions.

Declaration
public Task SortAsync(SortDescription[] sortDescriptions, CancellationToken cancellationToken = default)
Parameters
Type Name Description
SortDescription[] sortDescriptions

The sort descriptions that determine how the data will be sort.

CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
Task
Implements