code: function(type, order, stickFolders, alsoTreeview) {
  		this.storage('sortType', (this.sortType = this.sortRules[type] ? type : 'name'));
  		this.storage('sortOrder', (this.sortOrder = /asc|desc/.test(order) ? order : 'asc'));
  		this.storage('sortStickFolders', (this.sortStickFolders = !!stickFolders) ? 1 : '');
  		this.storage('sortAlsoTreeview', (this.sortAlsoTreeview = !!alsoTreeview) ? 1 : '');
  		this.trigger('sortchange');
  	}
docs: Update sort options
  
  @param {String} sort type
  @param {String} sort order
  @param {Boolean} show folder first