Board Thread:Script Suggestions/@comment-10637-20180609035802/@comment-27958705-20180609053026

(function($) {   if (wgCanonicalSpecialPageName !== 'Whatlinkshere') return;    var sorted_list,        $list = $('#mw-whatlinkshere-list');    sorted_list = $list.children('li').sort(function (a, b) { return ($(a).find('a:first').attr('title') > $(b).find('a:first').attr('title')) ? 1 : -1;   });    $list.children('li').remove;    $list.append(sorted_list); })(jQuery);