Auto Sorting List Alphabetically

I was able to fix this by adjust my call slightly. instead of using

jQuery(document).ready(function () {
    sortUL("#sortList");
});

I used

jQuery(window).on("load", function() {
     sortUL("#sortList");
});

seems that either SHOULD have worked, but this worked for me nonetheless