Sort File Names Based on Date

Hello Experts

There is a requirement to sort the files based on the date. The use case is, the scheduler will process the files in the transaction order. The file name is in the pattern of ABC_yyyyMMdd. Could you please guide?

Regards
Sasa

Hello Team,

I wrote custom java service to achieve this.

Thanks
Sasa

Do you mind sharing the code snippet here it will be helpful to forum members and also me :slight_smile:

Please use the link: http://stackoverflow.com/questions/14451976/how-to-sort-date-which-is-in-string-format-in-java