I have a table which contains columns of numbers and NA.
NA
1024
Simply use More HTML5 attributes are available to solve problems of filtering, sorting, searching, etc. https://datatables.net/examples/advanced_init/html5-data-attributes.htmldata-order attribute in element. Plugin will sort based on that. For your case the HTML will be:
NA
1024
100
200
300
2096