public static function getReversedOrder()
    {
        $sort = preg_match("/desc/i", self::getOrder());
        $sort = $sort ? " ASC " : " DESC ";
        return self::getOrder() ? self::getOrder()." $sort" : "";
    }
public static function getReversedOrder()
    {
        $sort = preg_match("/desc/i", self::getOrder());
        $sort = $sort ? " ASC " : " DESC ";
        return self::getOrder() ? self::getOrder()." $sort" : "";
    }
public static function getReversedOrder ( ) { $ sort = preg_match ( "/desc/i" , self :: getOrder ( ) ) ; $ sort = $ sort ? " ASC " : " DESC " ; return self :: getOrder ( ) ? self :: getOrder ( ) . " $sort" : "" ; }
Returns the inverse order.
If DESC is specified, returns ASC.

@return string order
Returns the inverse order . If DESC is specified returns ASC .