Java : Sort JSON String using key
<p>I have a String which is in JSON format. I need to sort this JSON string using attributes but am unable to do it. JSON String is created by reading a CSV file. I do not want to read the CSV again and have to implement it using JSON String only. Is there a way to do that? Please let me know.</p>

<p>JSON String format is :</p>

<pre><code>[
  {
    "address": "some address",
    "name": "some name",
    "phone": "some phone",
    "age": "some age",
    "SSN": "some SSN"
  },
  {
    "address": "abc",
    "name": "def",
    "phone": "ghi",
    "age": "jkl",
    "SSN": "mno"
  }
]
</code></pre>

<p>Please explain.</p>