ENH: Patient agreement upload/download, jQuery lib for table sorting by column titles