source/Application/Controller/Admin/ListComponentAjax.php
protected function _getSortDir()
    {
        $sDir = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('dir');
        if (!in_array($sDir, $this->_aPosDir)) {
            $sDir = $this->_aPosDir[0];
        }

        return $sDir;
    }
protected function _getSortDir()
    {
        $sDir = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('dir');
        if (!in_array($sDir, $this->_aPosDir)) {
            $sDir = $this->_aPosDir[0];
        }

        return $sDir;
    }
protected function _getSortDir ( ) { $ sDir = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getRequestParameter ( 'dir' ) ; if ( ! in_array ( $ sDir , $ this -> _aPosDir ) ) { $ sDir = $ this -> _aPosDir [ 0 ] ; } return $ sDir ; }
Checks user input and returns SQL sorting direction key

@return string
Checks user input and returns SQL sorting direction key