function callSyncSequentialHook (container, hook, args) {
    // all plugins that implement this hook will run, passing data onwards
    let plugins = _getSortedPlugins(container.__plugins, hook);
    let output = args[0];

    for (let i = 0; i < plugins.length; i++) {
        let hr = _callSyncHook(plugins[i], hook, [output]);
        if (hr !== null && hr !== undefined) {
            output = hr;
        }
    }

    return output;
}
@param {PluginContainer} container 
@param {string} hook 
@param {any[]} args
@return {any}