In August 1837, Babbage chose a program’s order to avoid losing ten turns of the hand.
Two of the earliest programs for the Analytical Engine, run on the store and the mill as Babbage set them out, a day apart. 122 of the 123 things he wrote agree with what the operations do, and his own remark under the table explains the order of the first. The transcription is an AI agent’s.