sorted the test subjects