richie5um / vscode-sort-json

VSCode Extension to Sort JSON objects
https://marketplace.visualstudio.com/items?itemName=richie5um2.vscode-sort-json
MIT License
110 stars 19 forks source link

how to sort array of object by property value? #64

Open hjrb opened 2 years ago

hjrb commented 2 years ago

{ "persons": [ "person": { "name": "Mike", "City": "LA" }, "person": { "name": "Aron", "City": "DC" } ] }

How to sort this array using the values of the property "name"?