title: How do I sort a json using a time stamp field within the json file in Postman?
body: <p>I am new to Postman, I have a API call which gives me the output as a json. In the &quot;Test&quot;, I get the JSON by <code>&quot;bodyData = JSON.parse(responseBody);&quot;</code></p>
  <p>The JSON file has got timestamp fields example <code>&quot;executedDate&quot;: &quot;2020-11-26T09:45:27.000Z&quot;</code>. I would need help in sorting the JSON file in descending order based on the <code>executedDate</code> field.</p>
  <pre><code> {
     &quot;dataflowJobs&quot;: [
      {
          &quot;createdDate&quot;: &quot;2020-11-26T09:45:03.000Z&quot;,
          &quot;duration&quot;: 48,
          &quot;executedDate&quot;: &quot;2020-11-26T09:45:27.000Z&quot;,
          &quot;id&quot;: &quot;03C2w000002Urb1EAC&quot;,
          &quot;jobType&quot;: &quot;user&quot;,
          &quot;label&quot;: &quot;Dataflow_2&quot;,
          &quot;progress&quot;: 1.0,
          &quot;startDate&quot;: &quot;2020-11-26T09:45:03.000Z&quot;,
          &quot;status&quot;: &quot;Success&quot;,
          &quot;type&quot;: &quot;dataflowjob&quot;,
          &quot;url&quot;: &quot;/services/data/v47.0/wave/dataflowjobs/03C2w000002Urb1EAC&quot;
      },
      {
          &quot;createdDate&quot;: &quot;2020-11-26T09:45:01.000Z&quot;,
          &quot;duration&quot;: 34,
          &quot;executedDate&quot;: &quot;2020-11-26T09:45:02.000Z&quot;,
          &quot;id&quot;: &quot;03C2w000002UracEAC&quot;,
          &quot;jobType&quot;: &quot;user&quot;,
          &quot;label&quot;: &quot;Adv_Dataflow_Exercises&quot;,
          &quot;progress&quot;: 1.0,
          &quot;startDate&quot;: &quot;2020-11-26T09:45:01.000Z&quot;,
          &quot;status&quot;: &quot;Success&quot;,
          &quot;type&quot;: &quot;dataflowjob&quot;,
          &quot;url&quot;: &quot;/services/data/v47.0/wave/dataflowjobs/03C2w000002UracEAC&quot;
      },        {
          &quot;createdDate&quot;: &quot;2020-11-20T09:45:01.000Z&quot;,
          &quot;duration&quot;: 58,
          &quot;id&quot;: &quot;0eP2w000000MhszEAC&quot;,
          &quot;jobType&quot;: &quot;recipe&quot;,
          &quot;label&quot;: &quot;Feb_and_Jan_S2_Modified_Recipe2_recipe&quot;,
          &quot;progress&quot;: 1.0,
          &quot;startDate&quot;: &quot;2020-11-20T09:45:01.000Z&quot;,
          &quot;status&quot;: &quot;Success&quot;,
          &quot;type&quot;: &quot;dataflowjob&quot;,
          &quot;url&quot;: &quot;/services/data/v47.0/wave/dataflowjobs/0eP2w000000MhszEAC&quot;
      }
  ],
  &quot;url&quot;: &quot;/services/data/v47.0/wave/dataflowjobs&quot;
  }
  </code></pre>