A new world record has been set after 51 players and staff were sent off during an under-20s match in Brazil on Sunday.