remove duplicate form sorted list