A test run failed on the build server but it passes locally, due to some issues in the tests and differences in the order of files returned by the OS.
What is the best way to run tests locally in the same order as the build server to debug the issue? (order of whole test classes matters much more than order of test methods. also it's ok if the solution is a complete hack)