protected function prepareOrder(Request $request)
    {
        foreach ($request->getOrder() as $order) {
            $this->query->order(
                [$this->table->getColumns()[$order->getColumn()]->getData() => strtoupper($order->getDir())]
            );
        }
    }