Make daca2 HTML sortable + make HTML more XHTML compliant

This patch attempts to make the HTML for daca2 more convenient to read and use. Now the table can be sorted. (I did not run the script, so some glitches may still exist)