remove traces of sorting