Technically, you could just remove the "| awk '{print $2}'", then it would print the "unix-time" (seconds since midnight at 1st Jan 1970). But I'm guessing you want something human readable. This should work
Code:
find ~/tmp -type f -printf "%TY-%Tm-%Td %TH:%TM:%TS %p\n" | sort
by printing "YYYY-MM-DD HH:MM:SS.... /path/to/file" so a lexicographical ordering happens to also be chronological.
You can change the time format to your liking (see `man 3 strftime`), but be careful with non-numerical time variables (eg. "03:16 AM" < "03:16 PM", but "Friday" < "Monday").