-
|
Hi, I enabled sorting capabilities on an AnalyticalTable component but it sorts in a case-sensitive way. Is this intended or a bug maybe? I know there's a sortType function where we can customize sorting, but I'm having a different issue if I combine sorting + grouping capabilities, because the sortType function sometimes receives arrays. Live Example: https://stackblitz.com/edit/github-9dcrlrig?file=src%2FApp.tsx
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hi @divier320 the |
Beta Was this translation helpful? Give feedback.

Hi @divier320
the
alphanumericsort type implements case-sensitive sort per default. This is the default for the standard jssortmethod for arrays as well.Sorting uses the
row.values[columnId]value, so in case a customaggregatefunction, or asortTypethat is not outlined by the docs (e.g."unique") is used, the compare value can become something different than a simple primitive value. In this case a customsortTypeis required.