var Mountains = {
  ctr_mountains: 10,
  random_min: 1000,
  random_max: 9999,
  mountains: [],
  mountain_input: function() {
    for(i=1; i<=this.ctr_mountains; i++) {
      this.mountains.push(Math.floor(Math.random() * (this.random_max - this.random_min + 1) + this.random_min));
    }
    return this.mountains;
  },
  sort: function() {
    console.log('Sample Input:');
    var data = this.mountain_input();
    console.log(data);
    data.sort()
    console.log('Sample Output:');
    for(k=data.length -1; k > 6; k--) {
      console.log(data[k]);
    }
    return true;
  }
}
Mountains.sort();