GtkTreeViewColumn::set_sort_column_id

void set_sort_column_id(int sort_column_id);

Sets the logical sort_column_id that this column sorts on when this column is selected for sorting. Doing so makes the column header clickable.

See also: get_sort_column_id() set_clickable() ,