Return true when the numbers never decrease from left to right. An empty array and a single item both count as sorted.
boolean isSorted(int[] values)
Examples
There are also 4 hidden tests you can't see. Solve the problem, not the examples.