title: Js lodash sort by deeper field
body: <p>I have an array of objects annd i want to sort by deeper field. How can i do this?</p>
  
  <pre><code>var array =    
     {
       "id": 27,
       "name": "La Primita Product",
       "lottery": {
          "id": 1,
          "name": "La Primitiva",
          "jackpotAmount": 10000,
        }
     },
      {
       "id": 28,
       "name": "La Primita Product",
       "lottery": {
          "id": 1,
          "name": "La Primitiva",
          "jackpotAmount": 10000,
      }
  </code></pre>
  
  <p>How can i sort by lottery.jackpotAmount?</p>