Fix compile error on sort_test.