/guava/android/guava/src/com/google/common/collect/Ordering.java
while ( it.hasNext ( ) ) { T next = it.next ( ) ;
return ImmutableList.sortedCopyOf(this, elements); } public boolean isOrdered(Iterable<? extends T> iterable) { Iterator<? extends T> it = iterable.iterator(); if (it.hasNext()) { T prev = it.next(); <extra_id_0> if (compare(prev, next) > 0) { return false; } prev = next; } }