as you saw I told a simple example that my table has 2 column and sort based on column no2
So please be careful that if you want sort in Number based column you should cast that to number
I mean when you get a text from a tag, Javascript always behavior as a
String with that
and one hot note that, for each column you will need one Array,
so please do it to understanding complete this subject
1:create a table with javascript (dynamic (as we made that)) with 3 columns and 10 rows
2:two of columns of your table should has Number values
3:try to make a function to sort with these two columns
SO if you do not any thing you never can be a developer
try to do this job from zero (I mean draw a flowchart) and do it step by step, and in each step ask of yourself about your problems
if you have problem please tell me, ask me and fell free about that
so I waiting for you, so go and do it