Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matrix not honorig sorting of original query and thus wrong ordering of numbers (thanks to js) #10

Open
fbuedding opened this issue Feb 20, 2024 · 0 comments

Comments

@fbuedding
Copy link

https://github.com/esnet/esnet-matrix-panel/blame/ec34da34156612cd761b5a971135b33419f8e508/src/dataParser.ts#L78-L79

I skimmed the source code think this is the reasons why fields are in the wrong order.
This is due javascripts default sort

A solution would be to just honor the original order of the data or to provide a compare function.

Example of how the wrong ordering looks:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant