[]
Sorts the collection according to the specified sortDescriptions.
public Task SortAsync(params SortDescription[] sortDescriptions)
Public Function SortAsync(ParamArray sortDescriptions As SortDescription()) As Task
| Type | Name | Description |
|---|---|---|
| SortDescription[] | sortDescriptions | The sort descriptions that determine how the data will be sort. |
| Type | Description |
|---|---|
| Task |
Sorts the collection according to the specified sortDescriptions.
[UnconditionalSuppressMessage("Trimming", "IL2026", Justification = "The constructor alerts about possible unreferenced code.")]
[UnconditionalSuppressMessage("Trimming", "IL2072", Justification = "The constructor alerts about possible unreferenced code.")]
public Task SortAsync(SortDescription[] sortDescriptions, CancellationToken cancellationToken = default)
<UnconditionalSuppressMessage("Trimming", "IL2026", Justification:="The constructor alerts about possible unreferenced code.")>
<UnconditionalSuppressMessage("Trimming", "IL2072", Justification:="The constructor alerts about possible unreferenced code.")>
Public Function SortAsync(sortDescriptions As SortDescription(), Optional cancellationToken As CancellationToken = Nothing) As Task
| Type | Name | Description |
|---|---|---|
| SortDescription[] | sortDescriptions | The sort descriptions that determine how the data will be sort. |
| CancellationToken | cancellationToken | The cancellation token. |
| Type | Description |
|---|---|
| Task |