I have a Postgres table which has column of type JSON which has a bunch of JSON objects in them. I want to query the table records and order the results by a value stored in the
Try:
ORDER BY cast(data->>'value' as integer) ASC