Gtk.TreeViewColumn.prototype.get_sort_column_id

function get_sort_column_id():Number {
    // Gjs wrapper for gtk_tree_view_column_get_sort_column_id()
}

Gets the logical @sort_column_id that the model sorts on when this column is selected for sorting. See Gtk.set_sort_column_id.

Returns

the current @sort_column_id for this column, or -1 if this column can't be used for sorting.