code: public void setSortMode(final SortMode sortMode) {
  		getOrCreateComponentModel().sortMode = sortMode == null ? SortMode.NONE : sortMode;
  	}
docs: Sets the table sort mode. The data model controls which columns are sortable.
  
  @param sortMode The sort mode to set.