in reply to sort strings by date
Try adding a line with, for example, the date 02/29/2004 to the test input...
-sauoq "My two cents aren't worth a dime.";