How to sort the folder to latest date in a package present inside directory.
The package name is wf011213
here,wf is package name,01 is month,12 is date and 13 is year,
Like this there are list of folder names,Need to pick the latest folder from the list.
How shall i do it.Please give an idea.
Thanks in advance,