I have the following JSON records stored in a container
{"memberId":123,"memberCity":"Chicago","lastTransaction":1504155600000}
{"memberId":123,"memberCity":"Chigago","lastTransaction":150175600000}
{"memberId":123,"memberCity":"New York","lastTransaction":150195600000}
I am looking to validate that the sort order in which these records are stored are sorted by memberId ASC, memberCity ASC, lastTransaction ASC
Is there a way via jq that I can assert (true/false) the sort order, taking multiple fields into account?