orderBy

Appends an ORDER BY clause to a query

q.orderBy("column");                        // ASCending order is the default

q.orderBy("column", asc);                   // explicit ASCending order
q.orderBy("column", desc);                  // DESCending order

q.orderBy("column", OrderingSequence.asc);  // ASC, long form
q.orderBy("column", OrderingSequence.desc); // DESC, long form
  1. Query orderBy(Query q, Column column, OrderingSequence orderingSequence)
  2. Query orderBy(Query q, string column, OrderingSequence orderingSequence)

Meta