var $container = $("div.container");
$container.html(shuffle($container.children().get()));
function shuffle(o){
for(var j, x, i = o.length; i; j = parseInt(Math.random() * i), x = o[--i], o[i] = o[j], o[j] = x);
return o;
};
Shuffle function found here
Updated:
jsFiddle