Use custom swap_iter for sorting PointBufferIter.