Can anybody help me for following problem: If we have 5 rows and 3 columns as
1 5 6
5 4 3
7 1 3
5 2 1
6 1 2
We sort this as follows:
1 1 1
5 1 2
5 2 3
6 5 3
7 4 6
Now I need that for each column, the unique values should be leveled uniquely in ascending order as:
1 1 1
2 1 2
2 2 3
3 3 3
4 4 4
Even sorting with unique levels will do for single column.