is.unsorted(x, na.rm = FALSE, strictly = FALSE)NA for objects of length 2 or more except for
atomic vectors and objects with a class (where the >= or >
method is used to compare x[i] with x[i-1] for
i in 2:length(x)).
sort, order.