Open t4top opened 7 months ago
We have a custom function that sorts key-values in lexical order. But if this is bothering you so much I can think a way to do this differently.
Thanks for your response. The ordering of Object keys is fine, but there's an issue with Arrays. It might be confusing when setting an array like [2,1]
and seeing [1,2]
in the UI, as we all know [2,1] != [1,2]
.
Could you consider adding a switch in the UI to enable/disable your custom lexical sorting (for arrays)? This way, users can choose between a lexical order or a raw output without reordering. Please, ensure that the user's choice remains persistent across sessions.
Sure. I'll see what I can do.
Issue: Data Browser UI does not preserve order of elements in JSON arrays
How to reproduce: