Created test cases for the sorting of data