title: Cloudant DB query in Node-RED function
body: <p>I want to load my tweets from the Cloudant DB by ascending order. I thought using sort: "tweet.id" would work but no.</p>
  
  <pre><code>msg.payload = {
      "query": "*:*",
      limit: 6,
      sort: "tweet.id",
  };
  return msg;
  </code></pre>
  
  <p>Node-RED flow:</p>
  
  <p><img src="https://i.stack.imgur.com/4hc8Y.png" alt="enter image description here"></p>