Skip to content

Built in sortingFn not working as expected #5959

@suryaashish-tyke

Description

@suryaashish-tyke

TanStack Table version

8.20.5

Framework/Library version

18.3.1

Describe the bug and the steps to reproduce it

The built in sortingFn alphanumericCaseSensitive, is not working as expected i.e it is not following the standard which is the ASCII Table

Your Minimal, Reproducible Example - (Sandbox Highly Recommended)

https://stackblitz.com/edit/tanstack-table-bjm35hr9?file=src%2Fmain.tsx

Screenshots or Videos (Optional)

For the below image, the order should be,

Sorted In : Ascending Order
Expected: 0 < __ < a
Actual: __< a < 0

Image

Do you intend to try to help solve this bug with your own PR?

None

Terms & Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions