title: Keep the order of the JSON keys during JSON conversion to CSV
body: <p>I am using the JSON library provided here <a href="http://www.json.org/java/index.html" rel="noreferrer">http://www.json.org/java/index.html</a> to convert a json string I have to CSV.
  But the problem I have is, the order of the keys is lost after conversion.</p>
  
  <p>This is the conversion code:</p>
  
  <pre><code>    JSONObject jo = new JSONObject(someString);
      JSONArray ja = jo.getJSONArray("items");
      String s = CDL.toString(ja);
      System.out.println(s);
  </code></pre>
  
  <p>This is the content of "someString":</p>
  
  <pre><code>{
      "items":
      [
          {
              "WR":"qwe",
              "QU":"asd",
              "QA":"end",
              "WO":"hasd",
              "NO":"qwer"
          },
      ]
  }
  </code></pre>
  
  <p>This is the result:</p>
  
  <pre><code>WO,QU,WR,QA,NO
  hasd,asd,qwe,end,qwer
  </code></pre>
  
  <p>While what I expect is to keep the order of the keys:</p>
  
  <pre><code>WR,QU,QA,WO,NO
  qwe,asd,end,hasd,qwer
  </code></pre>
  
  <p>Is there any way I can have this result using this library? If not, is there any other library that will provide the capability to keep the order of keys in the result?</p>