Clicking headers changes sort field and direction.
This is not really working well. Treeview/model expect items to always
have a fixed set of fields, but search results have dynamic fields
in undefined order. Need to redo the way headers/columns work.