In a view formula field I have to order a text list from min to max value. I want it to be done with min function. The textlist contains 25 elements. I have tried like this

strUnique:= @unique(volume);

REM "initialize the minimum as the first of the unique volumes";

strMinVolume := @subset(strUnique;1);

REM "now take the minimum of the first and second elements of the unique volumes";

strMinVolume1 := @min(strMinVolume; @subset(@subset(strUnique;2);-1));

REM "now take the minimum of the previous minimum and the third element of the unique volumes";

strMinVolume2= @min(strMinVolume1; @subset(@subset(strUnique;3);-1));

but I am not able to proceed further. I want the ordered list to be in an array. How can I do that?

Thanks in Advance

AL