title: How to re-order REST API response?
body: <p><strong>I have the following API response:</strong></p>
  
  <pre><code>[{
  "id": 1
  "name": "first Name"
  "code": 100
  },
  {
  "id": 2
  "name": "second Name"
  "code": 200
  }]
  </code></pre>
  
  <p><strong>I would like to re-order the items in the object and move "code" on the top, like this:</strong></p>
  
  <pre><code> [{
   "code": 100
   "id": 1
   "name": "first Name"
    },
    {
    "code": 200
    "id": 2
    "name": "second Name"
    }]
  </code></pre>