code: function(el) {
  			var mythis = this;
  
  			this.source.colSortIdx = el.data('col-idx');
  			this.source.columns[el.data('col-idx')].dir = this.source.columns[el.data('col-idx')].dir == 'asc' ? 'desc' : 'asc';
  
  			this.source.update(function() {
  				mythis.render();
  			});
  		}
docs: Sorts the datatable