updated sorting classes to be fully generic, rather than just a generic sort method. Also streamlined the UnitTester class