Select and sort a column in a table using Javascript
问题 I want to select a particular column of a table and sort it accordingly using Javascript (No frameworks or plugins). Could anyone help me regarding this? <table> <thead> <tr> <td>Col1</td> <td>Col2</td> <td>Col3</td> <td>Col4</td> </tr> </thead> <tbody> <tr> <td>Data11</td> <td>Data23</td> <td>Data53</td> <td>Data45</td> </tr> <tr> <td>Data81</td> <td>Data42</td> <td>Data33</td> <td>Data4854</td> </tr> <tr> <td>Data84681</td> <td>Data452</td> <td>Data354</td> <td>Data448</td> </tr> <tr> <td