Can transform.Remarshal preserve key order

Hi,

Is it possible to prevent the keys from being reordered alphabetically during a transform.Remarshal?

If not, is it possible to add this parameter?

Thank you

Sébastien

No and no. Maps (the source for the transformation) are unordered.

https://go.dev/ref/spec#Map_types

A map is an unordered group of…