fix failuring sort test