adding script that makes html output sortable
changed enctype and indentation
added facility for HTML output