Sort by event in IACC plugin