Hi all,
I tried looking through the few Hamilton libraries I have, but I couldn’t find a sort Array alphabetically function.
Any ideas/pointers?
Hi all,
I tried looking through the few Hamilton libraries I have, but I couldn’t find a sort Array alphabetically function.
Any ideas/pointers?
The HSLExtensions libraries have a sort function in the array library. I think arrays of strings are sorted lexicographically so if you sort (“ab”, “ba”, Ba") ascending you will get (“Ba”, “ab”, “ba”) because of how upper and lower case characters are compared.
Sweet that worked. For some reason I thought it only worked with Integers!