group the handlers by provider