fix sort test