title: How to get the first/lowest value of an object with Javascript?
body: <p>I have the following data:</p>
  
  <pre><code>{"20":{"id":20,"name":"Book 1"},
   "31":{"id":31,"name":"Book 2"},
   "1021":{"id":1021,"name":"Book 3"}
  }
  </code></pre>
  
  <p>Is there a way that I could get the id of the first object or the object with the lowest id value, which in this case is 20 with javascript? </p>