title: sort list of json objects in python
body: <p>I have a JSON object array as given below:</p>
  
  <pre><code>"results": [
          {
          "BOX_coordinate_LefTop_X": 241,
          "BOX_coordinate_LefTop_Y": 1428,
          "BOX_coordinate_RightBottom_X": 2081,
          "BOX_coordinate_RightBottom_Y": 1738,
          "BOX_language" : "English",
          "OCR_possibility0": "Resident identity Card"
          },
  
          {
          "BOX_coordinate_LefTop_X": 140,
          "BOX_coordinate_LefTop_Y": 3272,
          "BOX_coordinate_RightBottom_X": 1924,
          "BOX_coordinate_RightBottom_Y": 3481,
          "BOX_language" : "English",
          "OCR_possibility0": "Name: Bhawandeep"
          },
  
          {
          "BOX_coordinate_LefTop_X": 537,
          "BOX_coordinate_LefTop_Y": 3489,
          "BOX_coordinate_RightBottom_X": 1951,
          "BOX_coordinate_RightBottom_Y": 3686,
          "BOX_language" : "English",
          "OCR_possibility0": "Bhawandeep"
          },
  
          {
          "BOX_coordinate_LefTop_X": 67,
          "BOX_coordinate_LefTop_Y": 3844,
          "BOX_coordinate_RightBottom_X": 1580,
          "BOX_coordinate_RightBottom_Y": 4091,
          "BOX_language" : "English",
          "OCR_possibility0": "Nationality: Indian"
  
          }
  ]
  </code></pre>
  
  <hr>
  
  <p>I want to sort this list based on the <code>BOX_coordinate_LefTop_Y</code>.</p>
  
  <p><code>results.sort(key='BOX_coordinate_LefTop_Y')</code> is not working as expected.</p>