source/Application/Controller/Admin/CategoryMain.php
public function getSortableFields()
    {
        $aSkipFields = ["OXID", "OXSHOPID", "OXMAPID", "OXPARENTID", "OXACTIVE", "OXACTIVEFROM"
        , "OXACTIVETO", "OXSHORTDESC"
        , "OXUNITNAME", "OXUNITQUANTITY", "OXEXTURL", "OXURLDESC", "OXURLIMG", "OXVAT"
        , "OXTHUMB", "OXPIC1", "OXPIC2", "OXPIC3", "OXPIC4", "OXPIC5"
        , "OXPIC6", "OXPIC7", "OXPIC8", "OXPIC9", "OXPIC10", "OXPIC11", "OXPIC12", "OXSTOCKFLAG"
        , "OXSTOCKTEXT", "OXNOSTOCKTEXT", "OXDELIVERY", "OXFILE", "OXSEARCHKEYS", "OXTEMPLATE"
        , "OXQUESTIONEMAIL", "OXISSEARCH", "OXISCONFIGURABLE", "OXBUNDLEID", "OXFOLDER", "OXSUBCLASS"
        , "OXREMINDACTIVE", "OXREMINDAMOUNT", "OXVENDORID", "OXMANUFACTURERID", "OXSKIPDISCOUNTS"
        , "OXBLFIXEDPRICE", "OXICON", "OXVARSELECT", "OXAMITEMID", "OXAMTASKID", "OXPIXIEXPORT", "OXPIXIEXPORTED", "OXSORT"
        , "OXUPDATEPRICE", "OXUPDATEPRICEA", "OXUPDATEPRICEB", "OXUPDATEPRICEC", "OXUPDATEPRICETIME", "OXISDOWNLOADABLE"
        , "OXVARMAXPRICE", "OXSHOWCUSTOMAGREEMENT"
        ];
        /** @var \OxidEsales\Eshop\Core\DbMetaDataHandler $oDbHandler */
        $oDbHandler = oxNew(\OxidEsales\Eshop\Core\DbMetaDataHandler::class);
        $aFields = array_merge($oDbHandler->getMultilangFields('oxarticles'), array_keys($oDbHandler->getSinglelangFields('oxarticles', 0)));
        $aFields = array_diff($aFields, $aSkipFields);
        $aFields = array_unique($aFields);

        return $aFields;
    }
public function getSortableFields()
    {
        $aSkipFields = ["OXID", "OXSHOPID", "OXMAPID", "OXPARENTID", "OXACTIVE", "OXACTIVEFROM"
        , "OXACTIVETO", "OXSHORTDESC"
        , "OXUNITNAME", "OXUNITQUANTITY", "OXEXTURL", "OXURLDESC", "OXURLIMG", "OXVAT"
        , "OXTHUMB", "OXPIC1", "OXPIC2", "OXPIC3", "OXPIC4", "OXPIC5"
        , "OXPIC6", "OXPIC7", "OXPIC8", "OXPIC9", "OXPIC10", "OXPIC11", "OXPIC12", "OXSTOCKFLAG"
        , "OXSTOCKTEXT", "OXNOSTOCKTEXT", "OXDELIVERY", "OXFILE", "OXSEARCHKEYS", "OXTEMPLATE"
        , "OXQUESTIONEMAIL", "OXISSEARCH", "OXISCONFIGURABLE", "OXBUNDLEID", "OXFOLDER", "OXSUBCLASS"
        , "OXREMINDACTIVE", "OXREMINDAMOUNT", "OXVENDORID", "OXMANUFACTURERID", "OXSKIPDISCOUNTS"
        , "OXBLFIXEDPRICE", "OXICON", "OXVARSELECT", "OXAMITEMID", "OXAMTASKID", "OXPIXIEXPORT", "OXPIXIEXPORTED", "OXSORT"
        , "OXUPDATEPRICE", "OXUPDATEPRICEA", "OXUPDATEPRICEB", "OXUPDATEPRICEC", "OXUPDATEPRICETIME", "OXISDOWNLOADABLE"
        , "OXVARMAXPRICE", "OXSHOWCUSTOMAGREEMENT"
        ];
        /** @var \OxidEsales\Eshop\Core\DbMetaDataHandler $oDbHandler */
        $oDbHandler = oxNew(\OxidEsales\Eshop\Core\DbMetaDataHandler::class);
        $aFields = array_merge($oDbHandler->getMultilangFields('oxarticles'), array_keys($oDbHandler->getSinglelangFields('oxarticles', 0)));
        $aFields = array_diff($aFields, $aSkipFields);
        $aFields = array_unique($aFields);

        return $aFields;
    }
public function getSortableFields ( ) { $ aSkipFields = [ "OXID" , "OXSHOPID" , "OXMAPID" , "OXPARENTID" , "OXACTIVE" , "OXACTIVEFROM" , "OXACTIVETO" , "OXSHORTDESC" , "OXUNITNAME" , "OXUNITQUANTITY" , "OXEXTURL" , "OXURLDESC" , "OXURLIMG" , "OXVAT" , "OXTHUMB" , "OXPIC1" , "OXPIC2" , "OXPIC3" , "OXPIC4" , "OXPIC5" , "OXPIC6" , "OXPIC7" , "OXPIC8" , "OXPIC9" , "OXPIC10" , "OXPIC11" , "OXPIC12" , "OXSTOCKFLAG" , "OXSTOCKTEXT" , "OXNOSTOCKTEXT" , "OXDELIVERY" , "OXFILE" , "OXSEARCHKEYS" , "OXTEMPLATE" , "OXQUESTIONEMAIL" , "OXISSEARCH" , "OXISCONFIGURABLE" , "OXBUNDLEID" , "OXFOLDER" , "OXSUBCLASS" , "OXREMINDACTIVE" , "OXREMINDAMOUNT" , "OXVENDORID" , "OXMANUFACTURERID" , "OXSKIPDISCOUNTS" , "OXBLFIXEDPRICE" , "OXICON" , "OXVARSELECT" , "OXAMITEMID" , "OXAMTASKID" , "OXPIXIEXPORT" , "OXPIXIEXPORTED" , "OXSORT" , "OXUPDATEPRICE" , "OXUPDATEPRICEA" , "OXUPDATEPRICEB" , "OXUPDATEPRICEC" , "OXUPDATEPRICETIME" , "OXISDOWNLOADABLE" , "OXVARMAXPRICE" , "OXSHOWCUSTOMAGREEMENT" ] ; /** @var \OxidEsales\Eshop\Core\DbMetaDataHandler $oDbHandler */ $ oDbHandler = oxNew ( \ OxidEsales \ Eshop \ Core \ DbMetaDataHandler :: class ) ; $ aFields = array_merge ( $ oDbHandler -> getMultilangFields ( 'oxarticles' ) , array_keys ( $ oDbHandler -> getSinglelangFields ( 'oxarticles' , 0 ) ) ) ; $ aFields = array_diff ( $ aFields , $ aSkipFields ) ; $ aFields = array_unique ( $ aFields ) ; return $ aFields ; }
Returns an array of article object DB fields, without multi language and unsortible fields.

@return array
Returns an array of article object DB fields without multi language and unsortible fields .