Fix compile error on sort_test.
Merge pull request #924 from kacfengine/master

Fix compile error on sort_test.