fn validate<T: DerOrd>(slice: &[T]) -> Result<()>
Validate the elements of a SET OF, ensuring that they are all in order and that there are no duplicates.
SET OF