How can I add sort options to a Data Table control?

I have a Data Table control binded to a Notes view and I want to allow users sorting column header.

Any example available out there?