Answer the question
In order to leave comments, you need to log in
Sorting a table?
Guys, maybe someone has a sane code for sorting a table in pure JS?
And then I’m looking for it, but I come across jQuery (which I don’t need at all), or with a cloud of incomprehensible code.
Here is an example of a table - https://jsfiddle.net/25nzhg30/4/
By clicking on Name, everything should be sorted, including in Amount
Thanks for the help!
Answer the question
In order to leave comments, you need to log in
Well, something like this
https://jsfiddle.net/25nzhg30/17/
sorted by the second column
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question