A function to help arrange sequential events in ImpactJS.