var arr = [20, 15, 60, 45, -4321, 4343, -255.22, 86.45];

function sortNumber(a, b) {
   return a - b;
}

return arr.sort(sortNumber);