static parse(cfg) {
        if (isString(cfg)) {
            const [colId, sort, abs] = cfg.split('|').map(s => s.trim());
            cfg = {colId, sort, abs};
        }
        return new GridSorter(cfg);
    }
/**
     * Create a new GridSorter. Accepts a GridSorter configuration or a pipe delimited string
     * generated using GridSorter.toString().
     *
     * @param {Object|String} [cfg] - GridSorter configuration or string representation.
     */
Create a new GridSorter. Accepts a GridSorter configuration or a pipe delimited string
generated using GridSorter.toString().

@param {Object|String} [cfg] - GridSorter configuration or string representation.
Create a new GridSorter . Accepts a GridSorter configuration or a pipe delimited string generated using GridSorter . toString () . @param { Object|String } [ cfg ] - GridSorter configuration or string representation .
static parse(cfg) {
        if (isString(cfg)) {
            const [colId, sort, abs] = cfg.split('|').map(s => s.trim());
            cfg = {colId, sort, abs};
        }
        return new GridSorter(cfg);
    }
static parse ( cfg ) { if ( isString ( cfg ) ) { const [ colId , sort , abs ] = cfg . split ( '|' ) . map ( s => s . trim ( ) ) ; cfg = { colId , sort , abs } ; } return new GridSorter ( cfg ) ; }
Create a new GridSorter.
Create a new GridSorter .