I'm not sure if this is a problem with this library but definitely the current ordering design doesn't work with @apollo/gateway.
The sort order depends on the order of the keys and when requesting the server directly it works as it should, but when requesting through the federation the order of the keys changes to alphabetical.
Perhaps the ordering body should be an array to avoid dependence on the order of the keys.
I understand that this is a big change in design but in this case we are dependent on how the dictionaries are implemented in one or another part of the system.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too