Request: sort the products by price ascending and give their names
Input:
name: b
price: 9
name: a
price: 3
name: c
price: 20
jq program: sort_by(.price) | map(.name)
Output:
a
b
c