IBM Interview Question

How to reverse sort a html table using javascript