I want to get a list of files in a directory, but I want to sort it such that the oldest files are first. My solution was to call File.listFiles and just resort the list ba
You might also look at apache commons IO, it has a built in last modified comparator and many other nice utilities for working with files.