MaxNumber array sort