Traqula docs
    Preparing search index...
    translateAlgOrderBy: AstIndir<
        "translateOrderBy",
        Pattern
        | Pattern[],
        [Algebra.OrderBy],
    > = ...

    An order by on top of a query form is registered to become the ORDER BY clause of that query. Any other order by is translated in a SELECT subquery of its own.