Anonymous - 2012-01-03

When user click on the title of a specific column all the items are sorted.
How to do this in code? I have 5 columns and i want all the items to be sorted
based on data from third columns in descending order? How to do that?