Do unique sort.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>