unique and sort usernames in the output