1
2
3
data.sort(function(x, y) {
return x.play\_time > y.play\_time ? -1 : 1;
});