Renames the event variable to e
Renames the scope of the events to sort