Hi,
Thanks for the reply. This is working fine. Thanks for resolving.
This means instead of alphabetical order, lodash is using ASCII values to sort?
Also I have a query here, for few other use cases where names are present I tried with and without using toLowerCase() in orderBy() and its working fine. So Is it required to use toLowerCase() in orderBy(). Also what is the right way to sort strings in postman with a sorting column and order? Is lodash the best way? Thank you again.
1 Like