Hi, when calling Ext.Data.Store.setSorters(), I was expecting that it would clear the original sorters first. However, I found that it merely appends to the original collection (as can be seen in the following source code)

http://ift.tt/1qTvGrl


applySorters: function (sorters, sortersCollection) { if (!sortersCollection) { sortersCollection = this.createSortersCollection(); } sortersCollection.add(sorters); return sortersCollection; },

Also, there is method called "clearSorter", although you have "clearFilter".


As a workaround, I'm calling store.sorters.clear() before calling setSorters().


Can you please fix this issue in your next version? Thanks!