protected function getListOrderFromSession($objectName, $requestParameterName, $defaultListOrder, $updateSession = true)
    {
        $orderSessionIdentifier = sprintf("admin.%s.currentListOrder", $objectName);

        // Find the current order
        $order = $this->getRequest()->get(
            $requestParameterName,
            $this->getSession()->get($orderSessionIdentifier, $defaultListOrder)
        );

        if ($updateSession) {
            $this->getSession()->set($orderSessionIdentifier, $order);
        }
        return $order;
    }