Hi all,
I'm looking for an elegant method to sort elements returned from find() or an each() callback. Currently I'm dumping the elements' text into a Javascript array with push(), then sorting the array with .sort() and printing the results with a for() loop. This works well, but it doesn't seem like the jQuery way to do it. Any suggestions? Jonas