title: Json generated through Jackson should be in sorted order of the Json elements value
body: <p>I am trying to generate JSON string from Map in sorted order of json element's value. Here is my JSON</p>
  
  <pre><code>"customer": {
        "id": "168252733",
        "firstName": "OTP",
        "lastName": "KPI",
        "contact": {
          "emailAddress": "nona.adams1@gmail.com",
          "phone": [
            {
              "number": "2567775065",
              "type": "primary"
            },
            {
              "number": "2567775065",
              "type": "secondary"
            }
          ]
        }
      }
  </code></pre>
  
  <p>This Json can contains multiple customer records but I want the json to be generated should be in sorted order of either firstname, lastname or email depending on the user preference.</p>
  
  <p>I am new to JACKSON, don't know how to implement it. Can anybody help me on this. 
  Thanks in Advance.</p>