q.orderBy("column"); // ASCending order is the defaultq.orderBy("column", asc); // explicit ASCending orderq.orderBy("column", desc); // DESCending orderq.orderBy("column", OrderingSequence.asc); // ASC, long formq.orderBy("column", OrderingSequence.desc); // DESC, long form
QueryorderBy(Query q, Column column, OrderingSequence orderingSequence)
Appends an ORDER BY clause to a query