setConfirmedSettings(settings) {
      if (settings && this._dialog && !this._dialog.isOpen()) {
        const tempSettings = JSON.parse(JSON.stringify(this._confirmedSettings));
        if (settings.sortOrder) {
          for (let i = 0; i < tempSettings.sortOrder.length; i++) {
            if (tempSettings.sortOrder[i].text === settings.sortOrder) {
              tempSettings.sortOrder[i].selected = true;
            } else {
              tempSettings.sortOrder[i].selected = false;
            }
          }
        }
        if (settings.sortBy) {
          for (let i = 0; i < tempSettings.sortBy.length; i++) {
            if (tempSettings.sortBy[i].text === settings.sortBy) {
              tempSettings.sortBy[i].selected = true;
            } else {
              tempSettings.sortBy[i].selected = false;
            }
          }
        }
        if (settings.filters) {
          const inputFilters = {};
          for (let i = 0; i < settings.filters.length; i++) {
            inputFilters[Object.keys(settings.filters[i])[0]] = settings.filters[i][Object.keys(settings.filters[i])[0]];
          }
          for (let i = 0; i < tempSettings.filters.length; i++) {
            for (let j = 0; j < tempSettings.filters[i].filterOptions.length; j++) {
              if (inputFilters[tempSettings.filters[i].text] && inputFilters[tempSettings.filters[i].text].indexOf(tempSettings.filters[i].filterOptions[j].text) > -1) {
                tempSettings.filters[i].filterOptions[j].selected = true;
              } else {
                tempSettings.filters[i].filterOptions[j].selected = false;
              }
            }
          }
        }
        this._confirmedSettings = JSON.parse(JSON.stringify(tempSettings));
      }
    }
Sets a JavaScript object, as settings to the <code>ui5-view-settings-dialog</code>.
This method can be used after the dialog is initially open, as the dialog needs
to set its initial settings.<br>
The <code>ui5-view-settings-dialog</code> throws an event called "before-open",
which can be used as a trigger point.<br>
The object should have the following format:<br>
<pre>
{
	sortOrder: "Ascending",
	sortBy: "Name",
	filters: [
		{"Filter 1": ["Some filter 1", "Some filter 2"]},
		{"Filter 2": ["Some filter 4"]},
	]
}
</pre>
@param {Object} settings - predefined settings.
@param {string} settings.sortOrder - sort order
@param {string} settings.sortBy - sort by
@param {Array.<Object>} settings.filters - filters
@public
@method
@name sap.ui.webc.fiori.ViewSettingsDialog#setConfirmedSettings