Open
Description
What happened?
If only one container out of multiple is referenced in the patch, then the order of the containers in the output is changed.
Refer to #3912, it has all the info.
That issue was auto-closed for inactivity, but the bug still exists.
What did you expect to happen?
The original order of containers has to be preserved.
How can we reproduce it (as minimally and precisely as possible)?
See the original ticket.
Expected output
See the original ticket.
Actual output
See the original ticket.
Kustomize version
5.2.1
Operating system
None