Clean file in single action

What one finds challenging another finds simple...

(HPUX B.11.11)

I have a text file named something like 12345.dst that could look like this:

DOG
CAT
NONE
TEST
CAT

What I want to end up with is 12345.dst looking like this:

CAT
DOG
TEST

removing "NONE" should it be there and doing the equivalent of "sort -u" on the remains. I know how to get out the "NONE" in a one-liner:

/bin/echo "g/^NONE$/d\nwq!" | ex -s 12345.dst

Is there a way to add in the functional equivalent of a "sort -u" to this command line?

Thanks!

Have you thought about:

grep -v -w NONE 12345.dst |sort -u