Skip to content

[Table] Sort example incorrectly sorts JSON parsed string, part 2. #19455

@cik10p

Description

@cik10p

Hello,

This bug is continuation of previously reported bug.
#19444
My previous bug report was closed, with no code example provided that could prove that I was wrong. I still think this is an issue, and it should be addressed.

Speaking of sorting algorithm, I was explained that according to lexicographical comparison (sorting) in JS this works as designed. But I must disagree.
Because in my lexicographical sorting example, I am getting desired results.
image

I am still trying to parse a JSON string, and load it into Element data array. And display sorted results correctly.
Here is my example here: https://stackblitz.com/edit/angular-92pdva-pkkzwk?file=app%2Ftable-sorting-example.ts Please visit #19444 issue for more details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions