sort tests in correct order