The doInOrder block

A doInOrder block is used to ensure that all of the programming statements (or code blocks) enclosed in its body are executed in sequential order.

The body is the code within its matching curly braces.

(In programming jargon, code within a matching pair of curly braces is referred to as a block of code.)

(If you include a doTogether block inside a doInOrder block, the statements or code blocks inside the doTogether block will be executed concurrently, but the entire block will be executed in sequential order relative to the surrounding statements or code blocks.)