Convert to json - The json sql statement and sort

Are you sure you want to allow comments on this post?