undo the sorting