query a set of elements, but in a particular order
<p>I have a bunch of <code>&lt;div&gt;</code> elements, each of which has a <code>name</code>. I would like to query the <code>&lt;div&gt;</code> elements using jQuery, but I want them to come by alphabetical order with respect to <code>name</code>. The usual code</p>

<pre><code>$("div").doStuff()
</code></pre>

<p>doesn't return the elements in any special order.</p>
