code: function setAutomatic(enable) {
          _automaticSort = enable;
          PreferencesManager.setViewState("automaticSort", _automaticSort);
          CommandManager.get(Commands.CMD_WORKING_SORT_TOGGLE_AUTO).setChecked(_automaticSort);
          _currentSort.setChecked(_automaticSort);
  
          if (_automaticSort) {
              _currentSort.sort();
          } else {
              _removeListeners();
          }
      }
docs: Enables/Disables Automatic Sort depending on the value.
  @param {boolean} enable True to enable, false to disable.