var arr =[1,5,3] console.log(arr) arr.unshift('4','5') console.log(arr) arr.sort((a,b)=>{return a-b}) console.log(arr)