How to get the largest value from array of objects in javascript, in the most elegant way?
<pre><code>[Object { curr="SEK", antal=7}, Object { curr="JPY", antal=1}, Object { curr="DKK", antal=1}]
</code></pre>

<p>I could create a new array and sort it. But I want to sort the array of objects by the antal property. How to do that in pure javascript. </p>

<p><strong>No jquery solutions wanted!</strong></p>
