added increments to comparisonCount++ variable in sort methods