Add sort test.