posted 22 years ago
No, if you just want the largest number you don't need to sort the array. To get the largest number use something like the code in my previous post.
If you want the largest number to be at the first, or last, element in the array than you need to sort.
Please ignore post, I have no idea what I am talking about.