Share via


MobileServiceTable.orderBy function

Sorts a query against the table by the selected columns, in ascending order.

mobileServiceTable.orderBy(col1, col2, …);

Parameters

  • col1
    Type: string

    The name of the first column to use for ordering.

  • col2
    Type: string

    The name of the second column to use for ordering.

Return Value

Type: Query object

A query that can be further composed.

.NET Framework Equivalent

OrderBy

Requirements

Namespace

WindowsAzure.MobileServices

Library

MobileServices.js

See Also

Reference

MobileServiceTable object

Other Resources

How to use an HTML/JavaScript client for Azure Mobile Services