def METHOD_NAME(self):
    if not self.intrs:
        return
    self.intrs.sort(key=lambda x: self.get_priority(x))        
    while self.intrs:
        IRQn = self.intrs.pop(0)
        self.clear_pending(IRQn)
        self.interrupt_handler(self.ql, IRQn)