Blaise Pascal said this quote

The last thing one discovers in composing a work is what to put first.