I'd rather not do that here -- this is just a slight tweak to how the `glob` function works. (`glob` returns items in an arbitrary order, but this problem only occurs when files that end with tilde appear after items that don't end with tilde, so this just ensures that we're testing the correct scenario.) I could test that we have tilde files in the test directory, but that should be something handled by the test fixture -- if I did that, I would be testing the test, not testing the code.

However, I'll add a README to the test fixture directory, explaining that it's intentional for us to have tilde files committed to the repository here. That should address the problem without having to test the test.