sorting and it's preserved