Included a method to get unique elements from an array.

Returns a new sorted array of unique elements. Throws out null and undefined elements.