Kustomize output can place Namespace resources in an unexpected order when core and custom API groups use the same kind name. Preserve the supported sort-order contract and deterministic output for these resources without disturbing unrelated kinds or user-specified ordering.