Remove unused endpoint for tree_views
Switch the sort dynamic field to use sort_string.