code: protected void setSort(final int index, final boolean ascending) {
  		WTableComponentModel model = getOrCreateComponentModel();
  		model.sortColIndex = index;
  		model.sortAscending = ascending;
  	}
docs: For rendering purposes only - has no effect on model.
  
  @param index the sort column index, or -1 for no sort.
  @param ascending true for ascending order, false for descending