Find files and sort by timestamp

Used below command to get list of files sorted by timestamp

 
 find -L . -type f -name '*dat*'  | xargs ls -ltrg
 

I want to get only the filenames so I tried adding basename but it doenst work , can some one advise on how to get only file name

Try:

find -L . -type f -name '*dat*' -exec ls -tr {} + | sed 's|.*/||'