You can sort in your query by using .order.