title: How we can Sort in MongoDB on the basis array Length?
body: <blockquote>
  <p><a href="https://i.stack.imgur.com/S0FzV.png" rel="nofollow noreferrer">There is <strong>bidding column</strong> in this Schema which contains array and on the basis of array length I want to sort the data</a>&gt;</p>
  </blockquote>