I\'m able to do this:
File images = new File(path); File[] imageList = images.listFiles(new FilenameFilter(){ public boolean accept(File
The right way to order files by date of last modified in reverse mode is doing:
Arrays.sort(Files, LastModifiedFileComparator.LASTMODIFIED_REVERSE);
for this instruction you will need the commons.io library from org.apache that you can download from here