Write a script that given a path to a directory will print the files sorted by date. Write a simple solution and one using DSU.