Help for this page
my $prev; @out = grep "$prev" ne ($prev = $_), sort @sd; # not for production co +de