[ Version ( since = "3.50" ) ]
public void set_view_sort_fields (size_t view_id, BookClientViewSortFields? fields)
Sets the sort fields for the view identified by the view_id.
The fields array should be terminated by an item, which has the field member set to
e_contact_field_last.
When the fields is null, the sort by file-as in ascending order is used instead.
The default implementation of this virtual method stores the fields into the internal structure for the
this, to be available by
dup_view_sort_fields.
Note: This function should be used only with E_BOOK_CLIENT_VIEW_FLAGS_MANUAL_QUERY views.
| this |
an BookBackend |
| view_id |
a view identifier |
| fields |
an array of BookClientViewSortFields, or null |