[Triggers] Sort triggers for easier debugging