sorted? should return boolean in every case.

Sorted is a predicate function and should return true or false in every case.  `sorted?([])` should return true because an empty array is (trivially) a sorted array.