one-liner
objs.sort((a,b) => a.last_nom - b.last_nom); // b - a for reverse sort
as function
function compare( a, b ) {
if ( a.last_nom < b.last_nom ){
return -1;
}
if ( a.last_nom > b.last_nom ){
return 1;
}
return 0;
}
objs.sort( compare );