main base test case
add sort by x and y