Add sort to event and activity lists.