Try to add sorters
to your store
:
Ext.define('SuggestedOrders.store.SODetails',
{
extend: 'Ext.data.Store',
// some more of your code
sorters:
{
field: 'column you need to sort by',
direction: 'DESC'
}
});
ADDENDUM:
You need to remove remoteSort: true
option. When this is set you will not be able to click on your column/attribute header to change it's sorting direction. Try without it and let me know ;)