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?


Hello Team,

I wrote custom java service to achieve this.


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

Please use the link: