function(property, value, anyMatch, caseSensitive) {
        // Support for the simple case of filtering by property/value
        if (property) {
            if (Ext.isString(property)) {
                this.addFilters({
                    property     : property,
                    value        : value,
                    anyMatch     : anyMatch,
                    caseSensitive: caseSensitive
                });
                return this.items;
            }
            else {
                this.addFilters(property);
                return this.items;
            }
        }

        this.items = this.mixins.filterable.filter.call(this, this.all.slice());
        this.updateAfterFilter();

        if (this.sorted && this.getAutoSort()) {
            this.sort();
        }
    }
function(property, value, anyMatch, caseSensitive) {
        // Support for the simple case of filtering by property/value
        if (property) {
            if (Ext.isString(property)) {
                this.addFilters({
                    property     : property,
                    value        : value,
                    anyMatch     : anyMatch,
                    caseSensitive: caseSensitive
                });
                return this.items;
            }
            else {
                this.addFilters(property);
                return this.items;
            }
        }

        this.items = this.mixins.filterable.filter.call(this, this.all.slice());
        this.updateAfterFilter();

        if (this.sorted && this.getAutoSort()) {
            this.sort();
        }
    }
function ( property , value , anyMatch , caseSensitive ) { // Support for the simple case of filtering by property/value if ( property ) { if ( Ext . isString ( property ) ) { this . addFilters ( { property : property , value : value , anyMatch : anyMatch , caseSensitive : caseSensitive } ) ; return this . items ; } else { this . addFilters ( property ) ; return this . items ; } } this . items = this . mixins . filterable . filter . call ( this , this . all . slice ( ) ) ; this . updateAfterFilter ( ) ; if ( this . sorted && this . getAutoSort ( ) ) { this . sort ( ) ; } }
This method will sort a collection based on the currently configured sorters.
@param {Object} property
@param {Object} value
@param {Object} anyMatch
@param {Object} caseSensitive
@return {Array}
This method will sort a collection based on the currently configured sorters .