try executing
$ sort -u data.txt
Description:
according to manpage of uniq
Note: 'uniq' does not detect repeated lines unless they are adjacent. You may want to sort the input first, or use 'sort -u' without 'uniq'.
you can read manpage by executing
$ man uniq