title: How to sort a JObject by value
body: <p>I have some JSON: </p>
  
  <pre><code>{
      "AI": "1",
      "AJ": "0",
      "AM": "0",
      "AN": "0",
      "BK": "5",
      "BL": "8",
      "BM": "0",
      "BN": "0",
      "BO": "4",
      "CJ": "0",
      "CK": "2"
  }
  </code></pre>
  
  <p>I'd like to sort it by number, highest to lowest, and get the property with the highest number by just writing the first index of the JSON.  Can you help me?</p>
  
  <p>This is what I have so far:</p>
  
  <pre><code>string voteJson = File.ReadAllText("vote.json");
  Object voteObj = JObject.Parse(voteJson);
  
  //How to sort the object here?
  
  //Saving it 
  string output = Newtonsoft.Json.JsonConvert.SerializeObject(voteObj, 
      Newtonsoft.Json.Formatting.Indented);
  File.WriteAllText("vote-sorted.json", output);
  </code></pre>