Unidimensional Array Ascending Sort

Hi Guys…

I’ve got a problem…

There is an array with 300 occurrences and I need to sort the values there
in ascending position ignoring the duplicate values.
The array can contain 5 occurrences or 280 or 290. I will never know before…

Basically…

it’s a (n4/1:300)

let’s suppose that I have

4 (1)
5 (2)
9 (3)
120 (4)
4 (5)
6 (6)
130 (7)

I need it like this…

4(1)
5(2)
6(3)
9(4)
120(5)
130(6)

Long time ago, I use to have a cake’s receipt for it…but I tried to find everywhere
and I couldn’t…

Can someone send it to me please?

Tks