Transforma en un arreglo sin duplicados

Crea una función que ordene un arreglo de enteros en orden ascendente y elimine todos los valores duplicados.

Ejemplos

Program.Setify(new[] { 1, 3, 3, 5, 5 }) ➞ new[] { 1, 3, 5 }

Program.Setify(new[] { 4, 4, 4, 4 }) ➞ new[] { 4 }

Program.Setify(new[] { 3, 3, 3, 2, 1 }) ➞ new[] { 1, 2, 3 }

Notas

Devuelve los valores únicos en orden ascendente.