var mountains = new Array (
  1819,
  2003,
  876,
  2840,
  1723,
  1673,
  3776,
  2848,
  1592,
  922
)

mountains.sort(function(a,b){
  if(a < b){ 
    return 1; 
  } 
  else if(a == b) { 
    return 0; 
  } 
  else { 
    return -1; 
  }
});

console.log(mountains[0] + ' ' + mountains[1] + ' ' +  mountains[2]);