Member function 'events' of the (C++ based) EventScheduler makes a Python-type iterator out of the heap. However it seems that the iteration occurs in a random order. In particular, there seems to be no correlation with the time-ordered heap.