order numbers in array