Neither the filterBy() method nor clearFilter() method respect the sortOnFilter property.

Proposed changes to Ext.data.Store:

Code:
filterBy : function(fn, scope) {
    this.snapshot = this.snapshot || this.data.clone();
    this.data = this.queryBy(fn, scope || this);
    if (this.sortOnFilter && !this.remoteSort) {
        this.sort();
    }
    this.fireEvent('datachanged', this);
},

clearFilter : function(suppressEvent) {
    this.filters.clear();
        
    if (this.isFiltered()) {
        this.data = this.snapshot.clone();
        delete this.snapshot;
        
        if (this.sortOnFilter && !this.remoteSort) {
            this.sort();
        }
        
        if (suppressEvent !== true) {
            this.fireEvent('datachanged', this);
        }
    }
}