If you know the maximum number of decimal places, you can split the string into parts and sort them individually. For example, if you know that you will have a maximum of 4 decimal places (division of 5 different numbers), you can create 5 formulas that represent part of a line.
//Formula {@Num1} to isolate most significant number local stringvar array splitString := split({table.string},'.'); if isnumeric(splitString[1]) then tonumber(splitString[1]) else 0 //...and the formula {@Num2} for second most significant number local stringvar array splitString := split({table.string},'.'); if ubound(splitString)>1 and isnumeric(splitString[2]) then tonumber(splitString[2]) else 0
Now sort the report first {@Num1} , then {@Num2} , etc.
Ryan
source share