[Feature Request] Sort fields
I know JSON properties do not have an order.
Anyways, when developing UIs it is important to be consistent. So, every time I render JSON data I would like the order of the fields to be the same. Alphabetically works.
Do you think such a feature is possible?
Hi, thank you for the suggestion.
Currently I use sort-object module to order the object before passing it to render. Would this work for your use case?
I didn't know about such module. I'll try it. Thanks for the suggestion. Will let you know if it's enough.
El 22 sept. 2017 17:00, "Aziz Yuldoshev" [email protected] escribió:
Hi, thank you for the suggestion.
Currently I use sort-object module to order the object before passing it to render. Would this work for your use case?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Lapple/react-json-inspector/issues/36#issuecomment-331546564, or mute the thread https://github.com/notifications/unsubscribe-auth/ADNp9GnvI0vyE0VbpBt5eNiYXyvMFeCdks5slBHLgaJpZM4PhG5j .