--- from: http://rosettacode.org/wiki/Ordered_words note: text processing