michaelp0730
1/2/2015 - 5:56 PM

Number Sort JavaScript

var n = [32, 4, 16, 8, 15];

n.sort(function (a, b) {
	return a - b;
});