How do I put a date column from a collection as a header for a XHTML Table?

Hi,

what's the best way to achieve this. Say I have a data collection
ordered by a date column (ASC or DESC) like this one.

Date;Name;Amount