I am continually surprised by even good web designers/developers who are unaware of the Yahoo! User Interface Library. I am hoping that this post will help more of them discover this useful resource. If you are a site owner you may want to pass the information on to your designer. Who knows they may thank you for it
Not only is the YUI Library the same high quality code that is used by Yahoo on its web properties but it is also free for both commercial and non-profit use (subject to minor restrictions).
I played around with the DataTable control which provides a powerful API to display screen reader accessible tabular data on a web page with sortable columns.
This is what I was able to produce in 15 minutes.
Try clicking on the different column headers to sort the table by that column in ascending or descending order.