<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js" type="text/javascript"></script>
</head>
<body>
<script>
$(function() {
var arr = [['1'],['2'],['3']];
$('.lead ul').html(function(){
return arr.map(function(n) {
return '<li>'+n+'</li>';
}).sort(el=> Math.random()>0.5);
});
});
</script>
<div class="lead">
<ul>
</ul>
</div>
</body>
</html>