Running test methods one after the other in testng
===

I m using Eclipse + selenium webdriver + testng

This is my class structure :

    class1
    {
    @test (invocation count =4)
    method1()
    
    @test (invocation count =4)
    method2()
    
    }

my testing.xml file :

    <classes>
    <class name="tests.class1">
    <methods>
    <include name="method1" />
    <include name="method2" />
    </methods>
    </class>
    </classes>

When running through my current testing.xml, the order of the tests is:
method1
method1
method1
method1
method2
method2
method2
method2

But I want the tests to be run in the following order:
method1
method2
method1
method2
method1
method2
method1
method2

Please guide me to achieve the desired result. 
Thanks a lot.



