Published on InterSystems Developer Community (https://community.intersystems.com)

Home > Sort alphabetically a list of names

Question
Kurro Lopez · Apr 23, 2021

Sort alphabetically a list of names

Hello everyone,

I don't want to believe that Intersystems didn't add a method/process/rule to sort alphabetically a list of names (in array, $ LB or whatever)

I haven't found any documentation about this. I've even tried comparing two strings but have not found a solution.

My cry for help is...

Does exists any command to compare two strings and check if one of them is lower or upper according to aphabet?

Please, give me a light in this dark

Best regards.
Kurro Lopez

#Caché
Product version: HealthShare 2017.2
$ZV: Cache for Windows (x86-64) 2017.2.1 (Build 801_3U) Thu Apr 12 2018 10:02:23 EDT

Source URL:https://community.intersystems.com/post/sort-alphabetically-list-names