I am designing a function dividing the case if they have duplicated values or not. If so, they should come up with the table, sorted values of unique ones, sorted values of