[treeview] ensure items are ordered according to their dc_title, we can't rely on an ordered rset
* is_last has to be computed on the caller now, not possible in the callee
* rely on b3f61c38526b to use entity.view() with vid in *view*'s arguments
sync_schema_props_perms('state_of')
sync_schema_props_perms('transition_of')
for etype in ('State', 'BaseTransition', 'Transition', 'WorkflowTransition'):
sync_schema_props_perms((etype, 'name', 'String'))