Renamed SorterTest to ComparisonSorterTest
Implemented unstable and stable counting sorts
factored out redundant code.