Dear Monks,
I need to sort an array which is having positive & negative numbers.it should take these into account & give max number & min number.
for example ,if my array has
@array = (99, 67, 0, -100, -38, 98)
then it should sort and give me -100 is min value & 99 is max value.
currently i am using "sort" which is not working on the negative numbers.Please help!
Thanks in advance.