ColumnView.sortByColumn

Sets the sorting of the view.

This function should be used to set up the initial sorting. At runtime, users can change the sorting of a column view by clicking on the list headers.

This call only has an effect if the sorter returned by gtk.column_view.ColumnView.getSorter is set on a sort model, and gtk.column_view_column.ColumnViewColumn.setSorter has been called on column to associate a sorter with the column.

If column is null, the view will be unsorted.

Parameters

column gtk.column_view_column.ColumnViewColumn
direction gtk.types.SortType

the direction to sort in