Sets each direct child's sort to its index in the given categoryIds, scoped by parentId. Validates the set matches the current children.
Sets each direct child's sort to its index in the given categoryIds, scoped by parentId. Validates the set matches the current children.