This example demonstrates how easy it is to implement sorting. Simply implement your data provider by extending a SortableDataProvider class and add a few OrderByLinks to the page.

[dataview navigator]
Actions ID First Name Last Name Home Phone Cell Phone
[actions] [contactid] [firstname] [lastname] [homephone] [cellphone]