Sorting HTML Table on Client

Click on table headings to sort. Click again to sort in reverse.

Customer Name Account Number
Polly Purebread 4444
Pinky Brain 3333
Scooby Doo Snack 2222
Yosemite Sam 1111

This page uses a Javascript Class to sort the html table when the user clicks on the column heading.
This is done without jQuery.