physics principle explains order and disorder of swarms