Sort not able to sort strings with small case characters in DataTable and APIs as well ? [Attached Screenshot]

Screenshot 2021-11-08 at 3.08.15 PM

Can you please look into this? Thanks

This is actually expected behavior, as our sort methods operate on the raw Unicode character codes - which puts all uppercase characters before lowercase ones. (This is how MongoDB’s $sort operation works as well.) There’s a pretty good explanation of it here.

I’ll admit, this has gotten me before, too, so I’ll explore if we could expose some extra parameters to our sorting methods in our API.