sortAscending

by Krishna Ananthi

JavaScript

function asc(a){
	return a.sort((a,b)=>Number(a)-Number(b));
}

console.log(asc([0,2,1,0,1,0]))