What about this?
var mylist = $('#sort');
var listitems = mylist.children('div').get();
listitems.sort(function(a, b) {
return $(a).text().toUpperCase().localeCompare($(b).text().toUpperCase());
});
$.each(listitems, function(index, item) {
mylist.append(item);
});
Pulled from: http://www.onemoretake.com/2009/02/25/sorting-elements-with-jquery/
And This: How may I sort a list alphabetically using jQuery?