An sample use of for-each() to find out if a list is sorted
Initial discussions of possible solutions to this simple problem