Sort values in Constant

Certified Senior Developer

Hello All,

I have constant with holds distinct values of usernames.

The constant USER_GROUP has the values {gamma, beta, alpha}

Earlier we had a sort() function which would sort the data for us, but this function is no longer available.

In documentation I see only a!sortInfo available which is useful to sort the data from DB and I cannot use any utilities as well for sorting the data.

So can anyone suggest an alternate way to sort the data in a constant to {alpha, beta, gamma}

 

a!localVariables(
  local!sendingName: getdistinctusers(cons!USER_GROUPS)
  local!sendingName
)

Thanks & Regards

Girish Katti

  Discussion posts and replies are publicly visible