• Orders the documents in a query.

    Parameters

    • queryID: string

      The query to add the filter to.

    • field: string

      The field to order by.

    • direction: OrderByDirection

      The direction of ordering (ascending or descending).

    Returns void