<PackageReference Include="System.Linq.Async" Version="7.0.1" />

System.Linq.IOrderedAsyncEnumerable<TElement>

public interface IOrderedAsyncEnumerable<TElement> : IAsyncEnumerable<TElement>
Represents a sorted async-enumerable sequence.
namespace System.Linq { public interface IOrderedAsyncEnumerable<[System.Runtime.CompilerServices.Nullable(2)] out TElement> : IAsyncEnumerable<TElement> { IOrderedAsyncEnumerable<TElement> CreateOrderedEnumerable<[System.Runtime.CompilerServices.Nullable(2)] TKey>(Func<TElement, TKey> keySelector, IComparer<TKey> comparer, bool descending); IOrderedAsyncEnumerable<TElement> CreateOrderedEnumerable<[System.Runtime.CompilerServices.Nullable(2)] TKey>(Func<TElement, ValueTask<TKey>> keySelector, IComparer<TKey> comparer, bool descending); IOrderedAsyncEnumerable<TElement> CreateOrderedEnumerable<[System.Runtime.CompilerServices.Nullable(2)] TKey>(Func<TElement, CancellationToken, ValueTask<TKey>> keySelector, IComparer<TKey> comparer, bool descending); } }