I am trying to Remove duplicates keeping only the earliest date
example
1212 er tr 2007054 1212 er tr 20050505 1212 er tr 20070404 1215 yt uy 20050401 so only 2nd one would be kept: 1212 er tr 20050505