vendor/assets/elfinder_OLD/js/elfinder.full.js
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');
	}
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');
	}
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' ) ; }
Update sort options

@param {String} sort type
@param {String} sort order
@param {Boolean} show folder first
Update sort options