src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php
protected function setOrderBy(string $column, string $order = null): void
    {
        $orderBy = $column;

        if (null !== $order) {
            $orderBy .= ' ' . $order;
        }

        $this->orderBy[] = $orderBy;
    }
protected function setOrderBy(string $column, string $order = null): void
    {
        $orderBy = $column;

        if (null !== $order) {
            $orderBy .= ' ' . $order;
        }

        $this->orderBy[] = $orderBy;
    }
Set an order by condition.

@param string      $column
@param string|null $order

@return void