($crt_min,$crt_hour,$crt_day,$crt_month,$crt_year)=(localtime)[1..5];
then you can just format it anyway you please :-)
to sort the dates, I am sure there is a module that would let you compare two dates, but I really don't know what it would be.
The way I would approach the...