sortBy() {
        return map(this, 'sortBy', arguments);
    }
Sort nodes using a function or key name.

If no custom sorter given, the configured "sort" value will be used.

@param {string|function} sorter Sort function or property name.
@return {TreeNodes} Array of node obejcts.