Physics and order
There are two mathematically equivalent ways of describing each physical law: either as the past causing the future, or as nature optimizing something.
Page 251, Life 3.0: Begin human in the age of artificial intelligence, Max Tegmark