sorting data from sr and cleaning away multiples.