def initialize(self): EventGenerator.initialize(self) # sort the buffers so if they have shared resources the ones with highest priority will go in front self.sortBuffers()