Basic Sort is working with test case