data.rows.sort(function(a,b){ return a.m-b.m;});//正序
data.rows.sort(function(a,b){ return b.m-a.m;});//倒序