cat mydata.json | jq 'sort_by(.sortkey)'
Where sortkey is the member that you want to sort by
sortkey
Date: 2017-10-06
Tags: json
Share: