'--order=alphabetical causes trial to run tests alphabetically within
each test case.'

def test_alphabetical(self):

    self.config.parseOptions(['--order', 'alphabetical', 'twisted.trial.test.ordertests.FooTest'])
    loader = trial._getLoader(self.config)
    suite = loader.loadByNames(self.config['tests'])
    self.assertEqual(testNames(suite), ['twisted.trial.test.ordertests.FooTest.test_first', 'twisted.trial.test.ordertests.FooTest.test_fourth', 'twisted.trial.test.ordertests.FooTest.test_second', 'twisted.trial.test.ordertests.FooTest.test_third'])
