src/QuerySorters.php
public static function listOrderByKeys()
    {
        $classMethods = get_class_methods(get_class());
        $calledClassMethods = get_class_methods(get_called_class());

        $filteredMethods = array_filter(
            $calledClassMethods, function ($calledClassMethod) use ($classMethods) {
                return !in_array($calledClassMethod, $classMethods, true);
            }
        );

        $list = [];
        foreach ($filteredMethods as $k => $v) {
            $list[$v] = $v;
        }

        return $list;
    }
public static function listOrderByKeys()
    {
        $classMethods = get_class_methods(get_class());
        $calledClassMethods = get_class_methods(get_called_class());

        $filteredMethods = array_filter(
            $calledClassMethods, function ($calledClassMethod) use ($classMethods) {
                return !in_array($calledClassMethod, $classMethods, true);
            }
        );

        $list = [];
        foreach ($filteredMethods as $k => $v) {
            $list[$v] = $v;
        }

        return $list;
    }
public static function listOrderByKeys ( ) { $ classMethods = get_class_methods ( get_class ( ) ) ; $ calledClassMethods = get_class_methods ( get_called_class ( ) ) ; $ filteredMethods = array_filter ( $ calledClassMethods , function ( $ calledClassMethod ) use ( $ classMethods ) { return ! in_array ( $ calledClassMethod , $ classMethods , true ) ; } ) ; $ list = [ ] ; foreach ( $ filteredMethods as $ k => $ v ) { $ list [ $ v ] = $ v ; } return $ list ; }
Pluck all sorters from class methods.

@return array
Pluck all sorters from class methods .