pub fn sort_ops_for_apply(ops: &[Op], schema: &Schema) -> Vec<Op>Expand description
order operations for apply: creates/updates first (topologically sorted so referenced objects are created before the objects that reference them), then deletes (reverse-toposorted so an object is deleted only after everything referencing it). reference cycles fall back to a stable order.