Added stable output (sort by filename).