sort array of numbers