void clear_cache();

This function should almost never be called. It clears the sort model of any cached iterators that haven't been reffed with ref_node() . This might be useful if the child model being sorted is static (and doesn't change often) and there has been a lot of unreffed access to nodes. As a side effect of this function, all unreffed iters will be invalid.