sort files for predictable output