remove useless function in sort unit test file.