title: Find an item within an array in a collection with the highest score overall and return with that score
body: <p>Schema:</p>
  <pre class="lang-js prettyprint-override"><code>const restaurantSchema = new mongoose.Schema({
    address: {
      building: String,
      coord: [Number, Number],
      street: String,
      zipcode: String,
    },
    borough: String,
    cuisine: String,
    grades: [{ date: Date, grade: String, score: Number }],
    name: String,
    restaurant_id: String,
  });
  </code></pre>
  <p>I am trying to find a restaurant with the highest <code>grades.score</code> and return what that score is.</p>
  <p>What I've tried doing:</p>
  <pre class="lang-js prettyprint-override"><code>Restaurant.find({}, { &quot;grades.score&quot;: 1, _id: 0 }).sort({ &quot;grades.score&quot;: -1 }).limit(1).exec((err, docs) =&gt; {
      if (err) {
          console.log(err);
      } else {
          console.log(docs);
      }
  });
  </code></pre>
  <p>What it returns:</p>
  <pre class="lang-js prettyprint-override"><code>[
    {
      grades: [ [Object], [Object], [Object], [Object], [Object], [Object] ]
    }
  ]
  </code></pre>
  <p>What I want:</p>
  <pre class="lang-js prettyprint-override"><code>[
     {
        score: 131
     }
  ]
  </code></pre>