Remove unused variables from sorting test.