?
db.reverse
Flip a query's ordering to descending.
Query.reverse() → Query<T[]>
Reverses the query's current ordering, turning an ascending sortBy into a descending one. It is almost always chained directly after sortBy; on its own it has nothing to flip.
Descending order
const newest = await Posts.sortBy((p) => p.created_at).reverse();