sorting files returned by MemoizedFile.listFiles()