title: How to sort the json object with the object key in android?
body: <p>Since the JSON object is not reliable, when I create a new json object from json text file, the order go wrong. So I decided to re-order the json object.</p>
  
  <p>Correct order (Json file content)</p>
  
  <pre><code>{
  "211": {
          "host": "https:\/\/s3-ap-southeast-1.amazonaws.com\/production-source\/ChangSha\/2013\/12\/09\/0\/0\/A\/Content\/",
          "timestamp": 1386514507,
          "cover": ["15\/Pg015.png",
          "16\/Pg016.png",
          "1\/Pg001.png",
          "2\/Pg002.png"],
          "year": "2013",
          "month": "12",
          "day": "09",
          "issue": "2013-12-09",
          "id": "211"
      },
      "210": {
          "host": "https:\/\/s3-ap-southeast-1.amazonaws.com\/production-source\/ChangSha\/2013\/12\/08\/0\/0\/A\/Content\/",
          "timestamp": 1386415087,
          "cover": ["1\/Pg001.png",
          "2\/Pg002.png",
          "3\/Pg003.png",
          "4\/Pg004.png"],
          "year": "2013",
          "month": "12",
          "day": "08",
          "issue": "2013-12-08",
          "id": "210"
      },
      "209": {
          "host": "https:\/\/s3-ap-southeast-1.amazonaws.com\/production-source\/ChangSha\/2013\/12\/07\/0\/0\/A\/Content\/",
          "timestamp": 1386331278,
          "cover": ["1\/Pg001.png",
          "2\/Pg002.png",
          "3\/Pg003.png",
          "4\/Pg004.png"],
          "year": "2013",
          "month": "12",
          "day": "07",
          "issue": "2013-12-07",
          "id": "209"
      },
      "208": {
          "host": "https:\/\/s3-ap-southeast-1.amazonaws.com\/production-source\/ChangSha\/2013\/12\/06\/0\/0\/A\/Content\/",
          "timestamp": 1386255815,
          "cover": ["15\/Pg015.png",
          "16\/Pg016.png",
          "1\/Pg001.png",
          "2\/Pg002.png"],
          "year": "2013",
          "month": "12",
          "day": "06",
          "issue": "2013-12-06",
          "id": "208"
      }
  } 
  </code></pre>
  
  <p>......</p>
  
  <p>Incorrect order (When I create a JsonObject)</p>
  
  <pre><code>{
  "211": {
      "id": "211",
      "timestamp": 1386514507,
      "cover": ["15\/Pg015.png",
      "16\/Pg016.png",
      "1\/Pg001.png",
      "2\/Pg002.png"],
      "host": "https:\/\/s3-ap-southeast-1.amazonaws.com\/production-source\/ChangSha\/2013\/12\/09\/0\/0\/A\/Content\/",
      "issue": "2013-12-09",
      "month": "12",
      "year": "2013",
      "day": "09"
  },
  "210": {
      "id": "210",
      "timestamp": 1386415087,
      "cover": ["1\/Pg001.png",
      "2\/Pg002.png",
      "3\/Pg003.png",
      "4\/Pg004.png"],
      "host": "https:\/\/s3-ap-southeast-1.amazonaws.com\/production-source\/ChangSha\/2013\/12\/08\/0\/0\/A\/Content\/",
      "issue": "2013-12-08",
      "month": "12",
      "year": "2013",
      "day": "08"
  },
  "195": {
      "id": "195",
      "timestamp": 1385115154,
      "cover": ["1\/Pg001.png",
      "2\/Pg002.png",
      "3\/Pg003.png",
      "4\/Pg004.png"],
      "host": "https:\/\/s3-ap-southeast-1.amazonaws.com\/production-source\/ChangSha\/2013\/11\/23\/0\/0\/A\/Content\/",
      "issue": "2013-11-23",
      "month": "11",
      "year": "2013",
      "day": "23"
  },
  "194": {
      "id": "194",
      "timestamp": 1385048906,
      "cover": ["1\/Pg001.png",
      "2\/Pg002.png",
      "3\/Pg003.png",
      "4\/Pg004.png"],
      "host": "https:\/\/s3-ap-southeast-1.amazonaws.com\/production-source\/ChangSha\/2013\/11\/22\/0\/0\/A\/Content\/",
      "issue": "2013-11-22",
      "month": "11",
      "year": "2013",
      "day": "22"
  },
  "197": {
      "id": "197",
      "timestamp": 1385306370,
      "cover": ["1\/Pg001.png",
      "2\/Pg002.png",
      "3\/Pg003.png",
      "4\/Pg004.png"],
      "host": "https:\/\/s3-ap-southeast-1.amazonaws.com\/production-source\/ChangSha\/2013\/11\/25\/0\/0\/A\/Content\/",
      "issue": "2013-11-25",
      "month": "11",
      "year": "2013",
      "day": "25"
  }
  }
  </code></pre>
  
  <p>.....</p>
  
  <p>I have the incorrect order jsonObject right now. How to create a new json object with the correct order? Thanks</p>