Moved bugs from compSortTest.