add ordering test case