var col = Math.abs(colIndex) - 1; this.sortFields = [{'attribute': this.fields.values[col].name, 'descending': (colIndex>0)}]; // Since we're relying on the data store to sort, we have to refresh our data. this.refresh();