Table of Contents

Method SortAscending

Namespace
MongoDB.Driver.Builders
Assembly
MongoDB.Driver.Legacy.dll

SortAscending(params Expression<Func<TValue, object>>[])

Sorts the array in ascending order.

public PushEachOptionsBuilder<TValue> SortAscending(params Expression<Func<TValue, object>>[] memberExpressions)

Parameters

memberExpressions Expression<Func<TValue, object>>[]

The member expressions.

Returns

PushEachOptionsBuilder<TValue>

The builder.