Skip to Content
avatar image
Former Member

How do we sort a string array in ascending or Descending Order in SAP Design Studio.

Hi All,

Just need help if anyone has faced this kind of scenario before. I want to sort Array of string elements in Ascending or descending order in Design Studio, considering Array has too many elements, so I cant specify order I want.

Considering example : var array_members=["xyz","mno","abc","def"]; I am trying to do it with loop statement. But I don't find any function to compare two string elements.

So can somebody help on this?

Thanks ,

Pankaj

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers