protected function hydrateOrders()
    {
        if (count($this->query)) {
            Logger::log(static::class . ' gathering query string', LOG_DEBUG);
            foreach ($this->query as $key => $value) {
                if ($key === self::API_ORDER_FIELD && is_array($value)) {
                    foreach ($value as $field => $direction) {
                        $this->order->addOrder($field, $direction);
                    }
                }
            }
        }
    }