The execution start with the execution of run method in Sensor Class. In this method you call the aggerator before the publisher. However, the collector is called from the publisher (in doPublish method, you call get method of the sensor. This later call the Collector)
Finnaly, the collector is called after the aggerator.