I got a solution.
You can set the initial direction of sorting using the Warehouse Sorter.
store.setStoreSorter(new StoreSorter<TemplateContentItem>(){ @Override public int compare(Store<TemplateContentItem> store, TemplateContentItem m1, TemplateContentItem m2, String property) { if(property.equals("downloads")){ return (super.compare(store, m1, m2, property) * -1); } return super.compare(store, m1, m2, property); } });
In the above code, it checks if the column is loaded, than it will sort the result in the reverse order.
source share