Sorting data table
Sorting data table

Hey guys.
I have a data table, made from two columns.
One column has text values, and another contains numeric values.
I need to sort this table by having HTML <select> element and choosing from ABC, or numeric values (highest to lowest).
Any suggestion on how can this be done?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Use the
order()
API to set the ordering based on the option selected.Kevin