in reply to sorting mm/dd/yy
If you're dealing with data more than 12 months old, then it might be better to use YYYYMMDD.
"Perl makes the fun jobs fun and the boring jobs bearable" - me