My Problem is that how to sort any column in ascending or descending order,with following requirements
1. A single click on the header of a certain column causes the table to re-sort based on this column.
2. A repeated click on the same column changes the sort direction from ascending to descending and vice versa.
3. The header of the column which provides the current sorting should be marked.