changed css to fit the new form formats
added html elements, and included css links
updated the sorting method and sorted the events properly