in reply to Sorting Times

I used clintp's version. Works perfectly! Thanks to everyone for the help.