src/FelixOnline/Base/BaseManager.php
protected function getOrder($tableless = false)
    {
        if ($this->order) {
            $order = "ORDER BY ";

            $first = true;

            foreach ($this->order as $orderItem) {
                if (!$first) {
                    $order .= ", ";
                }

                $order .= $this->getColumnReference($orderItem[0], $tableless);
                $order .= " ";
                $order .= $orderItem[1];

                $first = false;
            }

            return $order;
        }
        return null;
    }
protected function getOrder($tableless = false)
    {
        if ($this->order) {
            $order = "ORDER BY ";

            $first = true;

            foreach ($this->order as $orderItem) {
                if (!$first) {
                    $order .= ", ";
                }

                $order .= $this->getColumnReference($orderItem[0], $tableless);
                $order .= " ";
                $order .= $orderItem[1];

                $first = false;
            }

            return $order;
        }
        return null;
    }
Order