added sorting attributes for table column headers for table()