Sorry, but what's wrong with `sort -u`?