Tables are constructed with thead and tbody. Simply by giving them a class="sortable",
the jQuery Tablesorter Plugin makes them 'sortable' and 'striped':
Senate data comes from GovTrack.US. Table sorting is achieved through jQuery and the jQuery Tablesorter Plugin