Find highest value in an array

Can anyone tell me if there is a way to find the highest number in an array?

numbersArr(314,2613,221,103,77);

is there a way to loop though this, compare all the numbers to each other and find the highest value while keeping the array in order?

Thank you