Number list and Selecting

Hi,

So I have a program that gives me a large array of numbers. I was wondering if there is a way to somehow list those numbers from largest to smallest and from there have the program select the greatest number out of the array to use it for another desired action. Any ideas would be greatly appreciated. Thank You.

Cheers,
Edwin Baldelomar

see TMath::Sort, TMath::BinarySearch, TMath::LocMax

Rene