have to work on this test comparing sorted/unsorted