unit tests search sort

now all of searchSort has unit tests that pass, also fixed one of the
searchSort methods to return arraylist instead of a set