modus-web-components
modus-web-components copied to clipboard
SPIKE: Add custom sorting function to table columns
References: #1602 https://tanstack.com/table/latest/docs/guide/sorting
Define what the function needs to be that is passed to sortingFn such that the end user can define their own custom sorting functions. Ideally they would pass a function like (a, b) = > { // implementation }.
Document the shape of the expected function and if we need or want to simplify it.