{"adfdasfdafdfds": {"amount": 43,"mints": ["adfdasffd","dsafdsafdsfds" ] },"dfsfsdfdsf": {"amount": 1020,"mints": ["dfsfsads" ] },"sdfsdfdfgf": {"amount": 1,"mints": ["fsfdsfdfds" ]How to sort this code by amount in either jq or sed/awk ?
The problem is that the first part isn't defined.