benjamine / jsondiffpatch

Diff & patch JavaScript objects
MIT License
4.85k stars 472 forks source link

[Feature Request] Option not sorting fields #267

Open zijianhuang opened 5 years ago

zijianhuang commented 5 years ago

Currently the diff result has fields sorted in alphabetic order. In some cases, I would prefer fields not ordered by alphabetic order, but the original order, for example, address fields like street, city, state, postcode and country.

dmitriytat commented 5 years ago

+1 It will be very useful.