refactors events controllers, adds default sort order to events
refactors helpers