Just want to clarify the specifics of the problem, whether the given array of integers is ordered, or is completely randomly ordered.
Update. I just reread my question and realized it did not fit my question. For any given array of integers, are they ordered by descending, ascending, or randomly. Sorry about that.