Is there a way to find the smallest/highest value in an array, say -4,2-10,-6,6,9 are a crude example of numbers.
Cant find a function for this, i know there is Arraylist.sort but this is for literal strings.
I need to find the smallest value in a large array.