Crystallization
e.g. crystallising sugar, a snowflake, cooling rock
Scattered molecules, jostling at random, lock one by one onto a growing lattice — each finding the site that costs least energy. The ordered crystal is computed by nothing but the rule "settle where you fit best."