Creativeeart,
$(function () {
var $target = $('#layouts ol');
var $elements = $('.author_poem');
$elements.sort(function (a, b) {
var an = a.textContent.trim(),
bn = b.textContent.trim();
if (an && bn) {
return an.localeCompare(bn,{sensitivity:"base"});
}
return 0;
});
$elements.appendTo($target);
});