isSorted

Returns true, if list is sorted in weak ascending order.

Receiver

list to be evaluated

Return

true, if the list is sorted in weak ascending order